Robert Sparks
c5aaab74b8
fix: mailman3 links for nonwg lists ( #7507 )
2024-06-06 13:11:54 -05:00
Robert Sparks
ae01f6fb92
chore: clean away unused views/tests related to the Allowlisted model ( #7027 )
2024-02-06 09:39:09 -06:00
Robert Sparks
efdaee3bb3
feat: decouple from mailman2 - explicitly model nonwg mailing lists ( #7013 )
...
* fix: remove synchronization with mailman2
* feat: manage non wg mailing lists explicitly
* chore: black
* fix: update tests for new nonwg view
* feat: drop unused models
2024-02-05 09:28:23 -06:00
Robert Sparks
c8c1ebdf12
chore: remove unnecessary .gitignore files ( #6262 )
2023-08-31 17:12:01 -05:00
Jennifer Richards
6b826fd985
refactor: Purge old migrations and update ci to build on a clean schema ( #5431 )
...
* refactor: Remove all existing migrations
* refactor: Create clean set of migrations
* chore: Skip check_statetype_slugs when DB is not yet populated
* fix: Do not cache active_groups_menu on module import
* fix: Do not patch timezone awareness out of oidc-provider
* refactor: Migrate to create postgres schema, only use pgloader for data
* ci: Use migration scripts from feat/pg-migrations branch
* Revert "ci: Use migration scripts from feat/pg-migrations branch"
This reverts commit c82f64c614241ccede4865a50d494725c8a47c15.
* ci: Run check before migrate
* fix: Remove redundant migration caused by merge error
* chore: Add casts/ALTER TABLEs to eliminate pgloader errors/warnings
* chore: Change schema name to match docker image assumptions
* chore: Clear out schema so we get a clean start in case of a retry
2023-03-28 18:06:07 +09:00
Robert Sparks
fce28e78f9
fix: case sensitivity for Subscribed.email ( #5270 )
2023-03-03 09:05:17 -06:00
Lars Eggert
220be21998
chore: Use codespell to fix typos in code. ( #4797 )
...
* chore: Use codespell to fix typos in code.
Second part of replacement of #4651
@rjsparks, I probably need to revert some things here, and I also
still need to add that new migration - how do I do that?
* Revert migrations
* Migrate "Whitelisted" to "Allowlisted"
* TEST_COVERAGE_MASTER_FILE -> TEST_COVERAGE_MAIN_FILE
* Fix permissions
* Add suggestions from @jennifer-richards
2022-12-07 15:10:35 -06:00
Robert Sparks
9c236ea2a2
chore: remove unneeded logging and code marked unreachable that has not been reached. ( #4305 )
...
* chore: remove unneeded logging and code marked unreachable that has not been reached.
* fix: remove noop save override
2022-08-04 11:25:31 -05:00
Robert Sparks
0ba50999d9
feat: isolate py27 code interfacing with mailman from py39 code interfacing with django. ( #4140 )
...
* feat: isolate py27 code interfacing with mailman from py39 code interfacing with django.
* fix: improve memory footprint and remove unneeded import.
* fix: make new bin command executable.
2022-06-29 16:14:15 -05:00
Russ Housley
fd9a0a4d9f
fix: Do not include concluded WGs in /list/nonwg. Fixes #3726 . ( #3727 )
2022-03-22 13:18:59 -05:00
Robert Sparks
36369f816e
Merged in [19299] from rjsparks@nostrum.com:
...
Change the caching model for the nonwg list page.
- Legacy-Id: 19322
Note: SVN reference [19299] has been migrated to Git commit fe5cfbd11d
2021-09-03 17:24:58 +00:00
Robert Sparks
fe5cfbd11d
Change the caching model for the nonwg list page. Commit ready for merge.
...
- Legacy-Id: 19299
2021-08-12 14:17:51 +00:00
Robert Sparks
b99eecc1ae
Bring the factory-boy and Faker dependencies forward through some minor breaking changes. Stop using the deprecated fr_QC locale in Faker. Commit ready for merge.
...
- Legacy-Id: 19270
2021-08-03 22:22:35 +00: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
b5f1e3af34
Fixed a typo
...
- Legacy-Id: 18716
2020-11-22 21:11:53 +00:00
Henrik Levkowetz
af7f51a81f
Refactored the import_mailman_listinfo command to run faster (20s instead of 30+m) and added time logging (for --verbosity 2)
...
- Legacy-Id: 18715
2020-11-19 16:13:31 +00:00
Henrik Levkowetz
9aeda11a29
Removed some Py2 compatibility decorators.
...
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
ea8c84d2f6
Python2/3 compatibility: used @python_2_unicode_compatible to provide __unicode__() versions of __str__() methods.
...
- Legacy-Id: 16455
2019-07-15 18:01:26 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
4094a472d7
Removed a debug print call.
...
- Legacy-Id: 16426
2019-07-07 21:04:10 +00:00
Henrik Levkowetz
e60a3e74f8
Increased the length of the list Subscribed email field from 64 to 128, updated the import_mailman_listinfo management command, and added a migration for the model change.
...
- Legacy-Id: 16370
2019-07-03 20:52:17 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
7270d5f67a
Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
...
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz
57a4c9f41f
Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
...
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Robert Sparks
5c57cf1b91
Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests. Commit ready for merge.
...
- Legacy-Id: 15551
2018-10-10 05:36:34 +00:00
Henrik Levkowetz
579cb3eabe
Updated the filtering for non-wg and wg mailing list pages.
...
- Legacy-Id: 15163
2018-05-24 14:46:23 +00:00
Henrik Levkowetz
4b65f7d6d4
Merged in [15145] from rjsparks@nostrum.com:
...
Secretariat requested tweak to the request for minutes template.
- Legacy-Id: 15154
Note: SVN reference [15145] has been migrated to Git commit a4a39f04ce
2018-05-22 18:41:01 +00:00
Henrik Levkowetz
39d6dee878
Fixed various html issues.
...
- Legacy-Id: 15032
2018-04-08 15:56:33 +00:00
Henrik Levkowetz
efb05a7f11
Tweaked a factory to make duplicate list names less likely
...
- Legacy-Id: 14874
2018-03-20 14:15:57 +00:00
Henrik Levkowetz
51b5303191
Included mailing lists for groups in state 'bof' on the non-WG mailing list page, as that seems to match people's expectations better. Thiw was triggered by the observation that the 'iasa20' list was not listed on the page.
...
- Legacy-Id: 14740
2018-03-06 20:39:14 +00:00
Henrik Levkowetz
a4768bb514
Removed unused imports. Added some explicit orderings to avoid pagination issues.
...
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
7f462b330b
Added view caching of the non-wg list index.
...
- Legacy-Id: 14601
2018-01-31 18:02:54 +00:00
Henrik Levkowetz
0ac80ab1ee
Fixed 2 bugs in import_mailman_listinfo; one typo and one bug which prevented updating of lists that changed from advertised to not advertised.
...
- Legacy-Id: 14600
2018-01-31 18:02:13 +00:00
Henrik Levkowetz
ba1ab57eaf
Added a test factories file for mailinglists.
...
- Legacy-Id: 14588
2018-01-30 17:43:02 +00:00
Henrik Levkowetz
0c1105f4bb
Added a page that lists all the advertised non-wg mailing lists, based
...
on data fetched from mailman by a cronjob running the
import_mailman_listinfo managemnt command. Fixes issue #2438 .
- Legacy-Id: 14587
2018-01-30 15:49:08 +00:00
Robert Sparks
2c92aa213d
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
...
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz
9f44b9a65d
Additional tweaks to the mailman listinfo importer.
...
- Legacy-Id: 13710
2017-06-22 16:41:27 +00:00
Henrik Levkowetz
c28b919e26
Made the import_mailman_listinfo management command somewhat more robust.
...
- Legacy-Id: 13708
2017-06-22 15:16:28 +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
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +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
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00