-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
411 lines (316 loc) · 22.8 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
rev 612 (2024-11-12) (krueschan)
- make 2035 default display year
rev 611 (2024-10-10) (krueschan)
- add link to newsletter signup
rev 610 (2024-03-27) (krueschan)
- minor changes to country report layout
rev 609 (2024-03-26) (krueschan)
- minor change to country report table formatting
rev 608 (2024-03-26) (krueschan)
- minor change to country report title
rev 607 (2024-03-26) (krueschan)
- now allowing users to compare up to four countries/regions directly => extensive changes to country report output and its dependencies
rev 606 (2024-03-22) (krueschan)
- change calc.js version number to force browsers to re-load it
rev 605 (2024-03-22) (krueschan)
- make year range (x-axis) of country chart user-definable
- new URL parameter switch activate_db - pass the filename of one of the custom databases in the CERc server's database folder to use it for the calculator, makes a new copy every time
- minor correction to paper bibliography
- minor corrections to comments in random spots
rev 604 (2024-03-22) (krueschan)
- added activate_db.php to allow users to "activate" custom databases already on the Calculator server by copying them into the user sessions directory
(Todo: add similar functionality to index.php for one-stop URL parameter custom db activation)
rev 600-603 (2023-08-29 - 2023-09-04) (krueschan)
- minor corrections to paper bibliography
rev 599 (2023-05-01) (krueschan)
- minor fixes
rev 598 (2023-04-27) (krueschan)
- display additional non-UI settings and other changes to calculator settings display
rev 597 (2023-04-26) (krueschan)
- resolved incompatibilities with PHP v8.2
rev 596 (2023-04-26) (krueschan)
- resolved some incompatibilities with PHP v8.2
rev 595 (2023-04-25) (krueschan)
- bug fix issue #7 (calculator settings passed via URL params didn't "stick" in certain situations)
rev 594 (2021-05-17) (krueschan)
- change from html comment to php comment in banner.php
rev 593 (2021-05-17) (krueschan)
- include dismissible banner at the top of the calculator to inform users about important changes/details
rev 592 (2021-04-26) (krueschan)
- users can now select a base year/reference year for the country table
rev 591 (2019-08-28) (krueschan)
- fixed: Excel download didn't work at all due to underspecified internal function call
rev 590 (2019-04-04) (krueschan)
- adopt Contributor Covenant
rev 589 (2019-03-14) (krueschan)
- add readme badges
rev 586-588 (2019-03-13) (krueschan)
- minor changes to JOSS paper and bibliography
rev 582-585 (2019-03-11) (krueschan)
- typos and other minor changes to paper
- add introductory help text to settings splash screen
- minor changes to paper (add CSO Review 2018)
rev 581 (2019-03-07) (krueschan)
- changed presentation of LULUCF (now disabled checkbox with explanation why we don't support it anymore)
rev 579-580 (2019-02-23) (krueschan)
- typo
- changed suggested docker install to port 8080
- edit calc.js to work with non-standard ports
rev 577-578 (2019-02-22) (krueschan)
- added Dockerfile and documentation for dockerized install of cerc-web
rev 574-576 (2019-02-21) (krueschan)
- installing guzzle via composer after all
- minor bug fixes
rev 570-573 (2019-02-20) (krueschan)
- fixed undefined index and variable warnings in gdrs_country_report and pledge database manager
- removed old GDRs reference and static css link from calc.js
- replaced deprecated mysql_* methods in pledge functions and pledge db manager
rev 565-569 (2019-02-16) (krueschan)
- serialize/unserialize database name for cookie storage
- replaced PEAR HTTP_Request with guzzle HTTP client lib in db manager
- replaced PEAR HTTP_Request with guzzle HTTP client lib to get pledges
- sanitize GET/POST parameters in API
- replaced PEAR HTTP_Request with guzzle HTTP client library in API example code
rev 560-564 (2019-02-15) (krueschan)
- updated baseline description in chart key
- removed obsolete experimental code (greenband)
- fixed LULUCF exclusion in index.php sidebar
- minor changes to paper bibliography
- fixed typo bug from rev 559
rev 559 (2019-02-12) (krueschan)
- created new 'EmptyFramework' class which is an extension of the abstract 'Framework' class without actually extending anything. this is so the methods of the abstract class can be accessed through initiated instances of the class without having to chose a specific framework (e.g. 'GreenhouseDevRights')
- changed several static public functions in abstract class 'Framework' to be non-static (specifically, those that are called both statically and non-statically, depending on whether they are called through the abstract class or through an instance thereof)
- throughout the code, changed static calls of several methods of class 'Framework' to become non-static calls of instances of class 'EmptyFramework'
- fixed bug where the cookie of the popup notice code could not be set since it was included in index.php after the header was already sent
- fixed bug where not-yet-set cookie would throw exception
- removed outdated "beta" label from title
rev 558 (2019-02-12) (krueschan)
- Updates to popup_notice.php
rev 557 (2019-02-08) (krueschan)
- Updates to help_db.sql
rev 556 (2018-11-23) (krueschan)
- minor changes to paper.md
rev 555 (2018-11-23) (krueschan)
- expanded research contribution section to paper.md and added relevant paper.bib entries
- minor changes to README.md
- correcting a few spelling mistakes
rev 548-554 (2018-11-19/20) (krueschan)
- merge commit
- minor changes to paper
rev 547 (2018-10-22) (krueschan)
- changes to paper
- enable "tax-table" output in wide data download
- minor css syntax fix
- fix: report now updates when changing R-C weight
rev 546 (2018-10-19) (krueschan)
- clarifying system requirements in README.md
- edit .gitignore file
- add .htaccess file for database manager
rev 545 (2018-10-18) (krueschan)
- Major:
- added new 1.5°C LED scenario to splash page, removed old G8 Pathway
- we decided to drop support for LLULUCF in the NDC analysis (the data just isn't good enough). Thus, "include LULUCF" checkbox has been removed. In a later update, we will reinstate including LULUCF in the calculation of historical responsibility but not in NDC assessment.
- Minor:
- fix issues arising from merging helpdb and pledge db projects, including re-adding TinyMCE to the helpdb
- added infrastructure to support ability to make popup notice appear on calculator load
- updated helpdb
- added display of webcalc version to footer
rev 544 (2018-10-17) (krueschan)
- Adding JOSS paper draft
--------------------------------------- NOTICE ----------------------------------------------
commit/rev numbers below are out of sync as a result of merging the
commit history of cerc-web, pledgedb and helpdb projects and rebasing the merged repository
-------------------------------------- /NOTICE ----------------------------------------------
rev 479 (2018-10-08) (tylerkb)
- change license of HWTHelp.php file
rev 478 (2018-10-07) (krueschan)
- generic config.php.new file
rev 477 (2018-10-07) (krueschan)
- add LICENSE to project, fix license where conflict existed
rev 476 (2017-11-02) (krueschan)
- added URL parameter 'dl_wide' to tsv download (download_tabsep.php). If dl_wide=1, the download omits the info and settings table at the top but
adds settings, calc_version and db_version to each data entry (the idea is to enable more straightforward parsing into statistics software)
rev 475 (2017-07-18) (krueschan)
- added logging of calculator settings to ../sessions/param_log.txt file on each call of the calculator engine
rev 474 (2017-03-02) (krueschan)
- temporarily reverted to jQuery UI version 1.9.2 because it's the most recent version with which the UI pop up for displaying helptext works
rev 473 (2016-06-14) (krueschan)
- small changes to "not-logged-in" info screen when public users stumble upon the developer version of the calculator
- API calls now through https
- changed links to urls within CERP webspace to https
rev 472 (2016-04-18) (krueschan)
- temporarily disabled settings for LULUCF inclusion in country report for public version (it's still present in the -dev version)
rev 471 (2016-04-14) (krueschan)
- further revisions to splash page (R-C weight is now a slider)
- hotlinked to "cloud-hosted" versions of jquery code (on code.jquery.com) instead of locally hosted files
rev 470 (2016-04-11) (krueschan)
- changed elements on the Equity Splash page around (now responsibiliy and capability on the 3x3 equity dial pad)
- now using a svg version of the logo instead of png for cleaner rendering
rev 469 (2015-10-16) (krueschan)
- added new logo to header branding and amended css to play nice with it
rev 468 (2015-10-10) (krueschan)
- fixed small bug in pledge description that got introduced in the partial commit in rev 466
rev 467 (2015-10-08) (krueschan)
- advanced Excel download: suppress output for regions and world if countries are specified; otherwise nonsensical output
- changed the default for the display year in the country report to 2030
- fixed a bug where greenline was always zero
rev 466 (2015-10-08) (krueschan)
- glossary_array.php now outputs html of a glossary item (if passed the html=1 URL parameter), with a <h3> formatted label, unless noheader=1 is specified (mainly for use in tooltip wordpress plugin)
- updated jQuery code to version 1.6.4
- minor css tweaks
- for the dev calc, if people attempt (but fail) to login to the dev version of the calculator, they are now shown an error message telling them what's going on and where the public version of the calculator is found (and redirect there after 15s delay).
- favicons in various resolutions
- advanced Excel download now takes a mix of individual years and year ranges, sort of supercedes "dl_min_year" and "dl_max_year", but I keep those around for legacy reasons (there are download scripts that use them)
- advanced Excel download can now be limited to certain countries (and the regions they belong to) via URL param "countries" or advanced Excel download form
- we can now easily check whether a user is a developer via the framework: Framework::user_is_developer() (as defined as a user who has opened the dev calc in the same browser within the last 3 months as per cookie)
- added "gases to display" parameters to core.php, in preparation for later code changes
- elminated "gdrs" field code names in the API responses (legacy behavior can be maintained with v=1.0 switch)
- added API documentation to Netbeans project and updated example.php to match documentation
- equity settings panel can now be closed by pressing the ESCAPE keyboard key
- Excel download now has "pseudo-ISO3" codes for regions (essentially, the flag shortname in all caps)
- in /charts/ module, for the CSO review, we can specify a "special=cso" switch that excludes "low equity" from the equity band
- in /charts/ module, .htaccess rewrite now always points back to index.php and we can pass parameters as URL "path" elements, eg: ..charts/200/dl/nobands/eff/cso/nolegend/usa.png would download (dl) a (200) dpi .(png) file of the effort sharing view (eff)
for the (USA), without the equity bands shown (nobands) and for the special (cso) case, while omitting the legend (nolegend)
- in the chart of the country report (or, more generally, in all charts generated with graph_core.php) we now show underlying data in tooltips on mouseover, if wanted
- fixed code to ignore specified time series in determination of common time series in graph_core module
- in graph_core.php, when determining common timeseries we now allow for up to 0.5% deviation of values to still consider them the same
- in the footer of the country report, we now show the database version of the database actually used
- if pledge glyphs would otherwise end up in the basement or attic of the country chart, rescale the y-axis
- for dev calc (or when running the public calc in a browser identified as a developer's (via cookie)) the "shareable link" is now _also_ available as a link to the dev calc
- in dev calc (or when identified as developer via cookie) show break down into sources/gases in country chart and country report table
- a bunch of dev calc functionality is now exposed to the public calculator (upload/download of databases, advanced Excel download) if we assume (via cookie) that the user is a developer
rev 465 (2015-08-25) (krueschan)
- in INDC Assessment Chart module (/charts/) prepared move to public calc (changing .htaccess and moving upload form to protected dir)
- added a URL parameter 'filename' to Excel download script: if specified, this will be the file name used for the download
- added a URL parameter 'download' to index.php - if set, index.php will forward to download_tabsep.php after the calculator
has done all the calculations, in other words, full parameterized download URLs can now be constructed
- for Excel download, added aliases for URL params for convenience: min_year/dl_min_year = dl_start_year, max_year/dl_max_year = dl_end_year, years = dl_years
- fixed API URLs in API example (example.php)
rev 464 (2015-08-11) (krueschan)
- responsibility related settings now in their own expando-box
- pledge expressed (in the pledge db) as absolute target (in Mt) is now understood
- fixed advanced Excel download
- remove trailing zeros from pledge percentages (which now allow 2 decimal points)
rev 463 (2015-08-07) (krueschan)
- 'public' flag from pledge database is now respected: if public=0 the pledge does not show in the public version of the calculator (always shows in the -dev version)
- Excel download now allows for list of distinct years (as opposed to just ranges) for download, via dl_years (with | separated list) URL param or "advanced Excel download" UI in dev calc
- implemented new 'labels_match_scale' in graph_core module which allows for axis labels to be matched to the user-defined/hard-coded/pre-calculated (y-)axis dimensions passed to the module
- some hacks in graph_core module related to secondary y-axis
- '_graph-test' directory renamed to 'charts'
- started implementing interactive chart legend in 'charts'
- added styling for area below the x-axis to country_graphs.css
- added CHANGELOG file to keep track of changes between and across commits
rev 462 (2015-07-12) (krueschan)
- version numbers for js and css (and some png) files to facilitate longer browser caching
- a bunch of new code for generating "The Big Chart" (single country graph with effort sharing and resource sharing wedges) for INDC assessments
rev 461 (2015-07-02) (toma-ecoequity)
- New legend text
rev 460 (2015-07-02) (krueschan)
- still testing to include svn commit data in config.php for run time use
rev 459 (2015-07-02) (krueschan)
- testing to include svn commit data in config.php for run time use
- optimized png header images for faster pageload
- removed some abandoned code from index.php
- private.properties file updated with post-move file locations
rev 458 (2015-07-02) (krueschan)
- made several minor changes to graph css; generally moving to class-based rather than id-based svg styling
- expansions to graph-core module for future functionality (ignore specific series for common series, added class based styling (can now pass css class for each glyph, data series or wedge), output can be to file or directly as svg code)
- pledges: now the "conditionality" status can be overriden via caveat JSON field
- pledges: in country report pledges are now sorted by year
- pledges: caveat JSON field also provides additional space for textual pledge qualifier
- shareability: now a link with all settings parameters is shows beneath the country graph; it also includes core db version and a warning is issued when a link with outdated core db version is clicked
- config.php is now smarter in dealing with various possibilities (directory, subdomain etc) of access to calculator
- is_dev function in Frameworks class now works with dev calc in subdomain
- changed equity settings splash page to reflect new default "low equity" case (zero dev_thresh)
- removed obsolete Excel download hack
- changed google analytics "dev-calc user awareness" to work after calculator move
- several minor post-move URL changes
- added graph text sandbox
- added general "Christian's play area" filed to settings panel of dev calc to expose in-development items to UI for easier testing
- added webfonts to cloudforge project
rev 457 (2015-06-17) (krueschan)
- prepared for calculator move: script now checks what folder on the server it's residing in and makes config selections on that basis.
- prepared equity settings splash for new no-negative emissions pathways
- started to code some load time testing (not yet working) for future calculator expansions
- made some flexibility edits to the graph_core module, for example, overriding axis step size, offsetting graph elements along the xaxis and adding css classes to graph elements
- minor GDRs --> CERP rebranding
rev 456 (2015-05-31) (krueschan)
- country report text now distinguishes between cases where a pledge "exceeds" and "falls short" of a fair share, and colours the per capita exceedance/shortfall number green or red, respectively
rev 455 (2015-05-30) (krueschan)
- changed equity splash page to new pathway names and descriptions
- broke out adaptation and mitigation cost fair share per capita in country report
- rewrite of "tax table" to include mitigation in t/cap (total and above DL) as well as a number of separate adaptation cost readouts
- removed "gdrs_header" options from advanced XLS download expando-box
rev 454 (2015-05-29) (krueschan)
- slight amendment to "ugly htaccess workaround" introduced in last commit
- give pledge glyphs unique ids in anticipation of future graph interactivity
- dump svg code onto country report rather than displaying external svg image (also in anticipation of future graph interactivity)
rev 453 (2015-05-22) (toma-ecoequity)
- Eliminate Obligation, added Fair share
rev 452 (2015-05-22) (krueschan)
- implemented ugly workaround for htaccess redirect bug for Excel download when trying to download from the cerp.org namespace. This will become redundant (and needs to be deactivated at that point in time) when the calculator properly moved to cerp.org
- suppress display of luxury threshold related settings (in the "show settings" table) when no luxury threshold is used
- added checkbox to "progressivity" settings expando-box to show tax tables. they remain suppressed by default
rev 451 (2015-05-21) (toma-ecoequity)
- Country report text correction
rev 450 (2015-05-21) (toma-ecoequity)
- Country report text correction
rev 449 (2015-05-20) (toma-ecoequity)
- Country report lables always explicit about baseline
rev 448 (2015-05-20) (krueschan)
- FIXED: made all the "undocumented URL parameters" for Excel download available through the GUI for _dev calc
rev 447 (2015-05-19) (krueschan)
- added dl_end_year URL parameter to Excel table download (this time in a manner that actually works)
- made all the "undocumented URL parameters" for Excel download available through the GUI for _dev calc
- fixed a link to glossary section
rev 446 (2015-05-14) (toma-ecoequity)
- Reordered Nav bar to improve More Info experience
rev 445 (2015-05-13) (toma-ecoequity)
- Added Project About to Calculator Nav bar
rev 444 (2015-05-13) (krueschan)
- added dl_end_year URL parameter to Excel table download (this time in a manner that actually works)
rev 443 (2015-05-13) (krueschan)
- added dl_end_year URL parameter to Excel table download
rev 442 (2015-05-13) (krueschan)
- fixed an odd styling and display anomaly in the glossary popup
- google analytics tracking code is now omitted for users of the public version of the calculator who are also users of the _dev version (identified via cookie) in order to avoid contamination of analytics stats with frequent admin page loads
rev 441 (2015-05-12) (krueschan)
- maintenance mode with proper HTTP return code (503) for search engines
- sending google analytics code in index.php and glossary.php for public version of calc only; code it set in config.php
rev 440 (2015-05-09) (toma-ecoequity)
- just changed "cost" to "costs"
rev 439 (2015-05-09) (toma-ecoequity)
- Show key edits to eliminate "GDRs". And another old dead doc reference
rev 438 (2015-05-09) (toma-ecoequity)
- Just some changes in the wording - incremental costs - including the country report readout
rev 437 (2015-05-08) (krueschan)
- moved adaptation and mitigation cost settings into their own "expando-box" underneath progressivity (TODO: write helpDB entry "incr_cost")
- changed country report heading from "Mitigation Obligations (and pledges)" to "Fair shares (and pledges)"
- "climate tax" expression of fair share in country table now reworded and not indented
rev 436 (2015-05-08) (krueschan)
- wrapped glossary popup display javascript into its own function to be able to call it directly outside the glossary framework
- used this new function to add capability to define pledge specific help popup via JSON data in caveat field of the pledge db. The relevant JSON data fields are help_label = the label of the link shown next to the pledge description, help_title = the title of the popup window, help_text = the text of the popup.
rev 435 (2015-05-07) (krueschan)
- moved API URL setting to config.php
- moved .htaccess credentials to access _dev version of API to config.php
rev 434 (2015-05-07) (krueschan)
- cleaning of temp folders (old user dbs, old svg files) now occurs upon every 25th page load (randomly), rather than external cron script
- path to helpdb include files is now specified in config.php
- new undocumented URL parameter for Excel download: gdrs_headers=1 keeps the Excel data table headers as specified in the core database, otherwise (default) they are overridden as per renaming mask in config.php
- Excel download now includes markup (<--- START DATA TABLE ---> and <--- END DATA TABLE --->) to show the beginning and end of the main data table
- all undocumented URL switches for Excel download are documented on top of download_tabsep.php
rev 433 (2015-05-04) (krueschan)
- moved a number of previously hard coded settings to a new config.php (path to temporary folder, path to databases, path to calculator engine, connection data for pledge db etc)
- Webcalc should now be fully "domain namespace aware"
- Excel download now uses user database name only (previously: full absolute path to user db)
- Excel download now by default excludes tax tables (override with URL parameter tax_tables=1); this shrinks Excel files by >66%
- Excel download can now be limited by years, regardless of historic responsibility start date via URL parameter, e.g. dl_start_year=1990
rev 432 (2015-05-02) (krueschan)
- description_override is now expected to be valid JSON format.
rev 431 (2015-05-02) (krueschan)
- changed hard-coded links to gdrights.org to name space aware links (exception: the mailto link in the footer is now hard coded to climateequityreference.org)
rev 430 (2015-05-01) (krueschan)
- First version of description override (no JSON yet)
rev 429 (2015-05-01) (toma-ecoequity)
- Commented out the SC link in Country Report. Also the Tax Table
[...no changelog for revisions prior to 429 (which is when krueschan started to work on this)...]