Skip to content

Commit bb2fdd4

Browse files
authored
Release 2.16 (#3651)
1 parent 99c5ff4 commit bb2fdd4

File tree

130 files changed

+29850
-995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+29850
-995
lines changed

.github/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuration-options
2+
3+
changelog:
4+
exclude:
5+
labels:
6+
- DO NOT MERGE
7+
- dependencies
8+
- Verify No Longer Relevant
9+
- No Longer Valid
10+
- Not Reproducible
11+
- Duplicate
12+
- To Investigate
13+
- Ignore in release notes
14+
authors:
15+
- octocat
16+
- dependabot
17+
categories:
18+
- title: Breaking Changes 🛠
19+
labels:
20+
- Semver-Major
21+
- breaking-change
22+
- title: New Features 🎉
23+
labels:
24+
- Semver-Minor
25+
- Enhancement
26+
- Feature
27+
- title: Maintenance
28+
labels:
29+
- Maintenance
30+
- Documentation
31+
- Performance
32+
- title: Bug Fixes
33+
labels:
34+
- Bug
35+
- title: Other Changes
36+
labels:
37+
- "*"

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
with:
1414
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity within 60 days. It will be closed if no further activity occurs. Thank you for your contributions."
1515
close-issue-message: "This issue has been closed automatically. If this still affects you please re-open this issue with a comment or contact us so we can look into resolving it."
16-
exempt-issue-labels: "P-1,P-2,Impact-1,Milestone"
16+
exempt-all-milestones: true
1717
operations-per-run: 500

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
.coverage
1010
.vscode
1111
coverage.protractor.json
12-
.noseids
1312
.vscode
1413
*~
1514
*~$*

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: |
55
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.2.0
8+
rev: v4.3.0
99
hooks:
1010
- id: trailing-whitespace
1111
- id: check-added-large-files
@@ -31,8 +31,8 @@ repos:
3131
--skip=seed/models/__init__.py,
3232
--filter-files,
3333
]
34-
- repo: https://github.com/humitos/mirrors-autoflake.git
35-
rev: v1.1
34+
- repo: https://github.com/PyCQA/autoflake
35+
rev: v2.0.0
3636
hooks:
3737
- id: autoflake
3838
args:
@@ -42,13 +42,13 @@ repos:
4242
"--remove-all-unused-imports",
4343
"--remove-unused-variable",
4444
]
45-
- repo: https://gitlab.com/pycqa/flake8
46-
rev: 3.9.2
45+
- repo: https://github.com/PyCQA/flake8
46+
rev: 5.0.4
4747
hooks:
4848
- id: flake8
4949
args: ["--ignore=F401,E402,E501,E731,W503,W504"]
5050
- repo: https://github.com/pre-commit/mirrors-prettier
51-
rev: v2.6.2
51+
rev: v2.7.1
5252
hooks:
5353
- id: prettier
5454
# for now ignoring html, javascript

CHANGELOG.md

Lines changed: 60 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,63 @@
1-
# SEED Version 2.16.0-beta
2-
3-
This Beta released contains new functionality to help track building-portfolio programs such as Benchmarking and basic-Building Performance Standards. In order to track programs, SEED was updated with a program configuration page with the selection of two metrics to track (typically an energy and emissions metric). The tracking requires an actual and a goal column to be defined allowing the program to determine if a property is in compliance.
4-
5-
A new program insight page was creating allowing easy visualization over the compliance periods. In addition, new backend functionality was created for "filter groups" allowing for a user to save a set of labels and filters into a recallable filter group. The filter groups can be then aggregated with sums, averages, etc., and plotted on a custom report page.
6-
7-
Date Range: 09/08/22 - 09/29/22
8-
9-
Closed Issues and Features (Total: 28):
10-
- Fixed [#3148]( https://github.com/SEED-platform/seed/issues/3148 ), Beta Property List view: Tax lot data is not being displayed under Properties, and Properties are not being displayed under Tax Lots
11-
- Fixed [#3341]( https://github.com/SEED-platform/seed/issues/3341 ), Replace charting library on reports page
12-
- Feature [#3346]( https://github.com/SEED-platform/seed/issues/3346 ), Filter Group - Back End
13-
- Feature [#3349]( https://github.com/SEED-platform/seed/issues/3349 ), Filter Group - Front End (Inventory List)
14-
- Feature [#3354]( https://github.com/SEED-platform/seed/issues/3354 ), Enable ability to not map a column in SEED
15-
- Fixed [#3433]( https://github.com/SEED-platform/seed/issues/3433 ), Add translations to BETTER Analysis helper text
16-
- Feature [#3459]( https://github.com/SEED-platform/seed/issues/3459 ), Create Compliance Metric Setup Page
17-
- Feature [#3460]( https://github.com/SEED-platform/seed/issues/3460 ), Create Program Overview Page
18-
- Feature [#3467]( https://github.com/SEED-platform/seed/issues/3467 ), integrate filter_groups into data_view
19-
- Feature [#3487]( https://github.com/SEED-platform/seed/issues/3487 ), Create Property Insights Page
20-
- Fixed [#3489]( https://github.com/SEED-platform/seed/issues/3489 ), Phrase 'Data View' to 'Custom Reports'
21-
- Fixed [#3491]( https://github.com/SEED-platform/seed/issues/3491 ), Confirm edit and save updates the graph
22-
- Fixed [#3493]( https://github.com/SEED-platform/seed/issues/3493 ), Improve DataView Plot legend and format table
23-
- Fixed [#3494]( https://github.com/SEED-platform/seed/issues/3494 ), Refresh list of dataviews when on metrics overview page
24-
- Fixed [#3524]( https://github.com/SEED-platform/seed/issues/3524 ), Create function for selecting 'No Filter Group'
25-
- Fixed [#3525]( https://github.com/SEED-platform/seed/issues/3525 ), Update the link for Program Overview on Program Setup Page
26-
- Fixed [#3527]( https://github.com/SEED-platform/seed/issues/3527 ), Lokalize check all strings
27-
- Fixed [#3528]( https://github.com/SEED-platform/seed/issues/3528 ), Create UI indicator when saving changes on Program Metric Configuration Page
28-
- Fixed [#3529]( https://github.com/SEED-platform/seed/issues/3529 ), Modify "Save Changes" button on Program Setup Page
29-
- Fixed [#3531]( https://github.com/SEED-platform/seed/issues/3531 ), Amend "Year Built" axis on Property Insights Page
30-
- Fixed [#3532]( https://github.com/SEED-platform/seed/issues/3532 ), Remove gaps between nav links
31-
- Fixed [#3533]( https://github.com/SEED-platform/seed/issues/3533 ), Update Program Setup page for an additional metric type check
32-
- Fixed [#3534]( https://github.com/SEED-platform/seed/issues/3534 ), Integrate auto-refresh to the Custom Reports Page
33-
- Fixed [#3535]( https://github.com/SEED-platform/seed/issues/3535 ), Update Program Setup page for a check on actual column
34-
- Fixed [#3536]( https://github.com/SEED-platform/seed/issues/3536 ), Fix the auto-populate modal which shows empty scrollbars by default
35-
- Fixed [#3537]( https://github.com/SEED-platform/seed/issues/3537 ), Fix the docker images that don't support the TZ environment variable without adding tzdata via apk
36-
- Fixed [#3538]( https://github.com/SEED-platform/seed/issues/3538 ), Fix the temporary underline that results from :focus not being handled
37-
- Fixed [#3558]( https://github.com/SEED-platform/seed/issues/3558 ), Program Setup: Add 'string' data type to valid column data types
1+
# SEED Version 2.16.0
2+
3+
This release contains new functionality to help track building-portfolio programs such as Benchmarking and basic-Building Performance Standards. In order to track programs, SEED was updated with a program configuration page with the selection of two metrics to track (an energy and emissions metric). The tracking requires an actual and a goal column to be defined allowing the program to determine if a property is in compliance.
4+
5+
A new program insight page was created to allow easy visualization over the compliance periods. In addition, new backend functionality was created for "filter groups" allowing for a user to save a set of labels and filters into a recallable filter group. The filter groups can be then aggregated with sums, averages, etc., and plotted on a custom report page.
6+
7+
Lastly, the new changelog format comes directly from GitHub now, removing the need to run the custom GitHub script.
8+
<!-- Release notes generated using configuration in .github/release.yml at 2.16.0-release-prep -->
9+
10+
## What's Changed
11+
### New Features 🎉
12+
* Add filter groups to insight page by @haneslinger in https://github.com/SEED-platform/seed/pull/3505
13+
* Add GHG and GHG Intensity units by @Ryoken in https://github.com/SEED-platform/seed/pull/3518
14+
* Data insight view format and usability improvements by @aviveiros11 in https://github.com/SEED-platform/seed/pull/3519
15+
* Enable ability to not map a column in SEED by @haneslinger in https://github.com/SEED-platform/seed/pull/3523
16+
* Program metric and insights pages by @kflemin in https://github.com/SEED-platform/seed/pull/3521
17+
* BPS insights development by @haneslinger in https://github.com/SEED-platform/seed/pull/3546
18+
* Program metric UI improvements by @aviveiros11 in https://github.com/SEED-platform/seed/pull/3542
19+
* Implement Program Setup Page by @anchapin in https://github.com/SEED-platform/seed/pull/3541
20+
* Add simple export buttons to charts by @haneslinger in https://github.com/SEED-platform/seed/pull/3561
21+
* Switch to created filter group after creation by @haneslinger in https://github.com/SEED-platform/seed/pull/3569
22+
* Use the same color for each axis per filter group by @haneslinger in https://github.com/SEED-platform/seed/pull/3587
23+
* Add 'ghg' and 'ghg_intensity' to 'valid_column_data_types' for Custom Report by @anchapin in https://github.com/SEED-platform/seed/pull/3570
24+
* Add export column mappings by @nllong in https://github.com/SEED-platform/seed/pull/3611
25+
* Allow filtering on all columns including related taxlots/properties by @haneslinger in https://github.com/SEED-platform/seed/pull/3618
26+
* Add the ability to create multiple compliance programs by @anchapin in https://github.com/SEED-platform/seed/pull/3623
27+
* Add create, update, retrieve, and delete to Meter API by @nllong in https://github.com/SEED-platform/seed/pull/3639
28+
### Maintenance
29+
* Update report charts to use Charts.js by @kflemin in https://github.com/SEED-platform/seed/pull/3368
30+
* Add translations to BETTER Analysis helper text by @anchapin in https://github.com/SEED-platform/seed/pull/3562
31+
* Add missing Lokalize tags by @aviveiros11 in https://github.com/SEED-platform/seed/pull/3563
32+
* Fix Typos by @axelstudios in https://github.com/SEED-platform/seed/pull/3564
33+
* Output proper error message by @haneslinger in https://github.com/SEED-platform/seed/pull/3592
34+
* Final version of the BPS sample data files by @anchapin in https://github.com/SEED-platform/seed/pull/3584
35+
* Remove nosetests and fix precommit by @nllong in https://github.com/SEED-platform/seed/pull/3619
36+
* BPS Data Final Updates by @anchapin in https://github.com/SEED-platform/seed/pull/3646
37+
### Bug Fixes
38+
* Fix only collect columns that aren't related by @Ryoken in https://github.com/SEED-platform/seed/pull/3515
39+
* Revised the Custom Reports page to remove custom report from list after deletion by @anchapin in https://github.com/SEED-platform/seed/pull/3522
40+
* Fix null x axis by @kflemin in https://github.com/SEED-platform/seed/pull/3543
41+
* Fix SEED logo focus by @axelstudios in https://github.com/SEED-platform/seed/pull/3547
42+
* Fix auto-populate scrollbars by @axelstudios in https://github.com/SEED-platform/seed/pull/3549
43+
* Fix navigation gaps by @axelstudios in https://github.com/SEED-platform/seed/pull/3550
44+
* Add tzdata dependency to docker images by @axelstudios in https://github.com/SEED-platform/seed/pull/3548
45+
* Add 'string' data type to valid column data types in Program Setup by @anchapin in https://github.com/SEED-platform/seed/pull/3560
46+
* Force utility spinner and refresh to update chart by @aviveiros11 in https://github.com/SEED-platform/seed/pull/3540
47+
* Add error check for blank Actual Column in Program Setup by @anchapin in https://github.com/SEED-platform/seed/pull/3572
48+
* Use the same column for the names used in Property Insights by @anchapin in https://github.com/SEED-platform/seed/pull/3578
49+
* On FilterGroup delete, filter groups don't filter≈y by @haneslinger in https://github.com/SEED-platform/seed/pull/3596
50+
* Update inventory reporting charts by @nllong in https://github.com/SEED-platform/seed/pull/3604
51+
* Fix update labels and label selected by @haneslinger in https://github.com/SEED-platform/seed/pull/3615
52+
* Fix ESPM get template with no children by @haneslinger in https://github.com/SEED-platform/seed/pull/3632
53+
* Fix note's API result to not include related model's view ID by @nllong in https://github.com/SEED-platform/seed/pull/3635
54+
* Apply label to only selected by @haneslinger in https://github.com/SEED-platform/seed/pull/3637
55+
* Update alt text, remove metric from program by @nllong in https://github.com/SEED-platform/seed/pull/3647
56+
### Other Changes
57+
* Remove use of campus on the property model by @nllong in https://github.com/SEED-platform/seed/pull/3614
58+
* Fix permissions for viewers to see program overview by @haneslinger in https://github.com/SEED-platform/seed/pull/3620
59+
60+
**Full Changelog**: https://github.com/SEED-platform/seed/compare/v2.15.2...v2.16.0
3861

3962
# SEED Version 2.15.2
4063

config/settings/common.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,6 @@
234234
PASSWORD_RESET_EMAIL = SERVER_EMAIL
235235
DEFAULT_FROM_EMAIL = SERVER_EMAIL
236236

237-
# Added By Gavin on 1/27/2014
238-
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
239-
NOSE_PLUGINS = [
240-
'nose_exclude.NoseExclude',
241-
]
242-
243237
AUTH_USER_MODEL = 'landing.SEEDUser'
244238
AUTH_PASSWORD_VALIDATORS = [
245239
{

config/settings/docker_dev.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@
6060
}
6161

6262
if SEED_TESTING:
63-
INSTALLED_APPS += ( # noqa F405
64-
"django_nose",
65-
)
66-
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
67-
NOSE_PLUGINS = [
68-
'nose_exclude.NoseExclude',
69-
]
70-
NOSE_ARGS = [
71-
'--nocapture',
72-
# '--nologcapture',
73-
]
74-
7563
CELERY_BROKER_BACKEND = 'memory'
7664
CELERY_TASK_ALWAYS_EAGER = True
7765
CELERY_TASK_EAGER_PROPAGATES = True

config/settings/test.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@
3939
# this celery log level is currently not overridden.
4040
CELERY_LOG_LEVEL = LOG_LEVELS['WARNING']
4141

42-
# Testing
43-
INSTALLED_APPS += ( # noqa F405
44-
"django_nose",
45-
)
46-
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
47-
NOSE_PLUGINS = [
48-
'nose_exclude.NoseExclude',
49-
]
50-
NOSE_ARGS = [
51-
'--nocapture',
52-
'--nologcapture',
53-
]
54-
5542
REQUIRE_UNIQUE_EMAIL = False
5643

5744
INTERNAL_IPS = ('127.0.0.1',)

docs/source/developer_resources.rst

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -432,18 +432,15 @@ Release Instructions
432432

433433
To make a release do the following:
434434

435+
1. Create a branch to prepare the updates (e.g., 2.16.0-release-prep).
435436
1. Github admin user, on develop branch: update the ``package.json`` and ``npm-shrinkwrap.json`` files with the most recent version number. Always use MAJOR.MINOR.RELEASE.
436-
2. Update the ``docs/sources/migrations.rst`` file with any required actions.
437-
3. Run the ``docs/scripts/change_log.py`` script and add the changes to the CHANGELOG.md file for the range of time between last release and this release. Only add the *Closed Issues*. Also make sure that all the pull requests have a related Issue in order to be included in the change log.
438-
439-
.. code-block:: console
440-
441-
python docs/scripts/change_log.py –k GITHUB_API_TOKEN –s 2022-03-31 –e 2022-05-29
442-
443-
4. Paste the results (remove unneeded Accepted Pull Requests and the new issues) into the CHANGELOG.md. Cleanup the formatting (if needed).
444-
5. Make sure that any new UI needing localization has been tagged for translation, and that any new translation keys exist in the lokalise.com project. (see :doc:`translation documentation <translation>`).
445-
6. Once develop passes, then create a new PR from develop to main.
446-
7. Draft new Release from Github (https://github.com/SEED-platform/seed/releases).
447-
8. Include list of changes since previous release (i.e., the content in the CHANGELOG.md)
448-
9. Verify that the Docker versions are built and pushed to Docker hub (https://hub.docker.com/r/seedplatform/seed/tags/).
449-
10. Publish the new documentation in the seed-platform website repository (see instructions above under Building Documentation).
437+
1. Update the ``docs/sources/migrations.rst`` file with any required actions.
438+
1. Push updates to new branch on GitHub, then go to the releases page to draft a new release which will generate the changelog.
439+
1. Copy the GitHub change log results into the CHANGELOG.md. Cleanup the formatting and items as needed (make sure the spelling is correct, starts with a capital letter, etc.)
440+
1. Make sure that any new UI needing localization has been tagged for translation, and that any new translation keys exist in the lokalise.com project. (see :doc:`translation documentation <translation>`).
441+
1. Create PR for release preparation and merge after tests/reviews pass.
442+
1. Once develop tests pass, then create a new PR from develop to main.
443+
1. Draft new Release from Github (https://github.com/SEED-platform/seed/releases).
444+
1. Include list of changes since previous release (i.e., the content in the CHANGELOG.md)
445+
1. Verify that the Docker versions are built and pushed to Docker hub (https://hub.docker.com/r/seedplatform/seed/tags/).
446+
1. Publish the new documentation in the seed-platform website repository (see instructions above under Building Documentation).

docs/source/migrations.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ local_untracked.py file
4646
routing_key=CELERY_TASK_DEFAULT_QUEUE
4747
),
4848
)
49-
Version 2.16.0-beta
49+
Version 2.16.0
5050
-----------------------
5151
- There are no special migrations needed for this version. Simply run `./manage.py migrate`.
52+
5253
Version 2.15.2
5354
-----------------------
5455
- There are no migrations needed for this version.

0 commit comments

Comments
 (0)