Jennifer Richards
901fdd8d44
chore: remove newrevisiondocevent stats view ( #8210 )
...
* refactor: update node, eslint, neostandard + fix esm (#8083 )
* chore: update dependencies
* fix: eslint + neostandard
* fix: add corepack prompt env var to init script
* docs: Update README.md
---------
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
* chore: remove newrevisiondocevent stats view
Not functional anyway
* chore: fix lint
* chore: remove unused template
* Revert "refactor: update node, eslint, neostandard + fix esm (#8083 )"
This reverts commit 649879efd745470f6e0cc6768d889f45640e1505.
---------
Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2024-11-14 15:21:48 -06:00
Jennifer Richards
ba356397c0
fix: Specify UTC for TruncDate ( #5996 )
2023-07-20 08:29:30 -05:00
Jennifer Richards
cbb946455f
test: Remove unused assignment that caused a mypy error
2023-05-15 11:25:38 -03:00
Jennifer Richards
d0cb46d320
fix: Use TruncDate instead of QuerySet.extra()
2023-05-12 15:47:37 -03:00
Lars Eggert
f8b48f4c43
fix: use Internet-Draft more consistently across the UI ( #5104 )
...
* s/Internet Draft/Internet-Draft/i
* s/draft/Internet-Draft/i or s/draft/I-D/i
* s/ID/I-D/
* Fix tests
* a -> an
* Undo case-change to ASCII
* Address code review comments
* Add migrations
* Add merged migration
* fix: straighten out migrations
* fix: finish straightening out migrations
---------
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-02-11 10:09:28 -06:00
Jennifer Richards
3c2e004ab8
fix: use UTC for model_to_timeline_data() ( #4763 )
...
This changes the method to operate in UTC instead of server time.
The existing code was mixing UTC and server time, though, giving
timestamps purporting to be UTC but computed from the date in the
server timezone. To the extent that it matters, I think this change
is preferable to restoring the original behavior.
2022-11-15 13:02:09 -06:00
Jennifer Richards
56505147e0
fix: handle timezones in a bunch of places
2022-09-23 16:11:49 -03:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
0b51e9a2b3
Removed a debug statement.
...
- Legacy-Id: 17732
2020-05-04 20:59:44 +00:00
Henrik Levkowetz
3e6a1cfb11
Limited the data for 'New draft revisions over time' on the personal profile page to type='draft'.
...
- Legacy-Id: 17720
2020-05-01 11:37:32 +00:00
Henrik Levkowetz
04e342b3ce
Merged in [16860] from rjsparks@nostrum.com:
...
Be resilient to statistics queries that provide a state but not a substate. Fixes #2813 .
- Legacy-Id: 16905
Note: SVN reference [16860] has been migrated to Git commit 654ae848f657957d2f7d259293ba523619d81cb5
2019-10-22 16:05:42 +00:00
Henrik Levkowetz
4c297ba4c0
Changed settings so that cache keys used by memcached includes the release version, in order to avoid stale and incorrect cache content on new release deployment. Made it easier to pick out cache key composition by normalizing the variable name. Adjusted cache prefix and the composition of some keys to have a unique and consistent cache key prefix.
...
- Legacy-Id: 14943
2018-03-26 21:26:20 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
de3976bec0
Merged in Django 1.9 upgrade work from ^/personal/henrik/6.41.1-django-1.9
...
- Legacy-Id: 12764
2017-01-31 15:13:01 +00:00
Henrik Levkowetz
0481d97650
Fixed a place where missing queryargument data could cause a 500 error.
...
- Legacy-Id: 12741
2017-01-26 19:24:34 +00:00
Ole Laursen
9308948195
Add person, affiliation and country (through django-countries) to
...
DocumentAuthor, rename author field to email and make it optional (for
modeling old email-less submissions), remove the authors many to many
referencing field from Document as it is not really pointing the right
place.
Update the Secretariat tools to show affiliation and country.
Add migration for getting rid of the fake email addresses that the
migration script created some years ago (just set the author email
field to null).
- Legacy-Id: 12739
2017-01-26 17:10:08 +00:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
7fbf2e8609
Changed the deprecated model._meta.get_all_field_names() to a supported construct.
...
- Legacy-Id: 12475
2016-12-07 18:27:57 +00:00
Henrik Levkowetz
288d211ca1
Made doc.views_stat.make_title() more robust against inconsistent query arguments.
...
- Legacy-Id: 12242
2016-10-30 18:16:52 +00:00
Henrik Levkowetz
f726f5c785
Moved default column chart settings to settings.py. Split chart config and data into separate ajax urls to permit drawing base chart details before having data. Added a 'Loading...' notification while loading chart data. Added more test cases. Changed chart settings to eliminate empty data points from data transfer.
...
- Legacy-Id: 11930
2016-09-07 13:06:30 +00:00
Henrik Levkowetz
03d5b07e51
Added document information and submission timeline to profile pages. Refactored the chart data generation.
...
- Legacy-Id: 11928
2016-09-06 19:25:51 +00:00
Henrik Levkowetz
74f7c5782b
Added some basic charting support, using highcharts, and charts showing new-revision timelines for document search results.
...
- Legacy-Id: 11927
2016-09-06 13:19:45 +00:00
Henrik Levkowetz
b0906f04af
Basic charting of new revision activity for document search results.
...
- Legacy-Id: 11922
2016-09-06 09:47:22 +00:00