Henrik Levkowetz
855716e1d5
Py2/3 compatibility: Added __future__ import
...
- Legacy-Id: 16448
2019-07-15 15:46:06 +00:00
Henrik Levkowetz
2b1f238204
Changed regex strings to raw strings and fixed a sort comparison int/str issue.
...
- Legacy-Id: 16333
2019-06-29 13:29:13 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Robert Sparks
6118975620
Added an explicit ID-Exists state for the IESG state machine. Reworked code so that the IESG state machine always has a state. Added the ability to release a document from a working group, research group, or the independent stream. Releasing a document removes all stream state, and sets the document to have no stream.
...
- Legacy-Id: 15809
2018-12-11 22:38:05 +00:00
Henrik Levkowetz
d2b86bc225
Increased the document limit from 200 to 500 for the AD documents page.
...
- Legacy-Id: 15788
2018-11-26 18:52:18 +00:00
Henrik Levkowetz
90e773aafa
Merged in [15601] from rjsparks@nostrum.com:
...
Corrected some DocTypeName entries' prefix value. Made the search code more robust against DocTypeName objects that have an empty prefix value. Fixes #2599 .
- Legacy-Id: 15604
Note: SVN reference [15601] has been migrated to Git commit 22d459362aec2a06854a515fbcebfec54e8a6e69
2018-10-21 12:36:01 +00:00
Henrik Levkowetz
ef3cbf4684
Merged in [15595] from rjsparks@nostrum.com:
...
Converted stats, submit, sync. and utils/test to use factories. Excluded utils/test_data from coverage checks.
- Legacy-Id: 15599
Note: SVN reference [15595] has been migrated to Git commit 39e76a836996ec9ed8ea449c92bdfae91c3dbaae
2018-10-19 12:54:58 +00:00
Henrik Levkowetz
4db4dd16b0
Merged in ^/personal/henrik/6.79.1-gdpr@15180 containing GDPR-adaptations.
...
- Legacy-Id: 15181
2018-05-28 11:26:24 +00:00
Henrik Levkowetz
a66639299d
Removed all references to the removed Person.affiliation field.
...
- Legacy-Id: 15129
2018-05-05 12:47:55 +00:00
Henrik Levkowetz
d076a1728c
Added a 'recent drafts' page, showing drafs submitted the last 7 days.
...
- Legacy-Id: 15099
2018-05-01 17:55:22 +00:00
Robert Sparks
57f548ecbd
Simplified docs_in_iesg_process. Added a test for it.
...
- Legacy-Id: 15074
2018-04-24 18:27:19 +00:00
Henrik Levkowetz
6b27daa58a
Imposed sort order (most recent docs first) on document search results, in order to retain the most recent docs in case we have to chop the result list due too many hits.
...
- Legacy-Id: 15022
2018-04-06 21:23:14 +00:00
Henrik Levkowetz
6a32a363cc
Merged in [15012] from ford@isoc.org:
...
Add IRTF State option to Additional Search Criteria pulldown.
- Legacy-Id: 15016
Note: SVN reference [15012] has been migrated to Git commit cd912600e6
2018-04-05 14:50:40 +00:00
Mat Ford
cd912600e6
Add IRTF State option to Additional Search Criteria pulldown. Commit ready for merge.
...
- Legacy-Id: 15012
2018-04-05 11:56:37 +00:00
Henrik Levkowetz
60a60de94b
Replaced inline database lookups with get_active_ads().
...
- Legacy-Id: 14987
2018-04-01 18:38:50 +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
Adam Roach
e7b984dfa7
Adding page count to last call page. Commit ready for merge.
...
- Legacy-Id: 14884
2018-03-21 09:12:34 +00:00
Henrik Levkowetz
535cd0bccf
Expanded the fields that the 'author' entry of the document search form is applied to, from just author name, to author name, email addresses, and affiliation. Fixes issue #2415 .
...
- Legacy-Id: 14552
2018-01-23 18:12:10 +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
6af4ce62aa
Removed debugging code.
...
- Legacy-Id: 12934
2017-02-28 20:42:19 +00:00
Henrik Levkowetz
5bb5ca727b
Created a special function log.unreachable() to mark code unreachable, and changed a function name from log.affirm() to log.assertion().
...
- Legacy-Id: 12933
2017-02-28 20:16:52 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
27351c4349
Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
...
- Legacy-Id: 12897
2017-02-22 11:40:55 +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
5089651e17
Don't use EmptyQuerySet directly; return Class.objects.none() instead.
...
- Legacy-Id: 12013
2016-09-21 11:23:57 +00:00
Henrik Levkowetz
9e66c16fa7
Made retrieve_search_results() always return a queryset, which lets us use .exists() on the returned value as needed.
...
- Legacy-Id: 12007
2016-09-20 18:32:20 +00:00
Henrik Levkowetz
f8bca9bcf6
Reverted inadvertent commit
...
- Legacy-Id: 12006
2016-09-20 18:31:16 +00:00
Henrik Levkowetz
e917c5a0df
Added made group a json object in the json_agenda, and added session.group.type information.
...
- Legacy-Id: 12005
2016-09-20 18:24:08 +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
Ole Laursen
c061caaf04
Merge in changes from community-list-cleanup
...
- Legacy-Id: 10968
2016-03-23 13:31:24 +00:00
Henrik Levkowetz
59623cf67f
Removed an unused import.
...
- Legacy-Id: 10912
2016-03-06 17:49:00 +00:00
Henrik Levkowetz
fbbc094086
Added sort direction to truncated search result views, and aligned the sort direction arrow with that used for the client-side tablesorter for untruncated results.
...
- Legacy-Id: 10910
2016-03-06 17:27:17 +00:00
Henrik Levkowetz
8291f169ae
Added reverse sort capability to the document search views. The templates needs to be updated accordingly in order for this to be available other than through URL hacking.
...
- Legacy-Id: 10909
2016-03-06 16:52:19 +00:00
Henrik Levkowetz
5ab5b8ad21
Added caching to the smart document lookup view.
...
- Legacy-Id: 10807
2016-02-09 14:21:49 +00:00
Robert Sparks
a0457c74f8
Filter unused document types from the search form. Fixes #1890 . Commit ready for merge.
...
- Legacy-Id: 10732
2016-01-25 20:09:34 +00:00
Ole Laursen
197bc07771
Refactor search-related utilities slightly to make them more
...
independent of the search form, to enable them to be reused in the
community lists.
Also clean up the related code a bit, use SearchForm to handle other
document types, and fix missing ids in the HTML so that one can click
the "by" labels to hit the corresponding radio button.
- Legacy-Id: 10729
2016-01-25 18:11:49 +00:00
Ole Laursen
b7232d0ab7
Revamp tracked/not tracked icons in search results to not do one query
...
per document, and make them work on all search result pages, move the
utility function to community/
- Legacy-Id: 10690
2016-01-14 18:04:05 +00:00
Henrik Levkowetz
309275dd7f
Enhanced the partial-match URL feature introduced in [10158], merged in [10253], so that it now handles other document types than drafts/rfcs if the partial string has the proper prefix, and also handles partial strings which don't match at the start of the document name.
...
- Legacy-Id: 10255
Note: SVN reference [10158] has been migrated to Git commit 4ac99a9dc4
Note: SVN reference [10253] has been migrated to Git commit 083abf7516
2015-10-21 19:21:52 +00:00
Ole Laursen
4ac99a9dc4
Summary: Add a view for /doc/foo-bar-baz that tries to redirect
...
helpfully instead of just throwing a 404 in case in an inexact match.
Right now, it knows how to do prefix matches and handles revisions and
extensions. If it can't find a unique match, it redirects to the
search page.
Branch ready for merge.
- Legacy-Id: 10158
2015-10-09 14:20:27 +00:00
Henrik Levkowetz
b1662da4f6
Factored out the doc_is_tracked logic, for use on group document list pages.
...
- Legacy-Id: 9366
2015-04-03 13:27:29 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz
73664a484b
Reverted to [9345], the fixed fix of a typo in sort key generation for sort on ipr count in document search results.
...
- Legacy-Id: 9347
Note: SVN reference [9345] has been migrated to Git commit 249bcf6e33
2015-03-26 19:35:14 +00:00
Henrik Levkowetz
d7a28fe146
Alternative fix from rcross@amsl.com for a typo in sort key generation for sort on ipr count in document search results.
...
- Legacy-Id: 9346
2015-03-26 17:56:40 +00:00
Henrik Levkowetz
249bcf6e33
Fixed the fix of a typo in sort key generation for sort on ipr count in document search results.
...
- Legacy-Id: 9345
2015-03-26 17:39:38 +00:00
Henrik Levkowetz
c36fc19663
Fixed typo in sort key generation for sort on ipr count in document search results.
...
- Legacy-Id: 9344
2015-03-26 17:38:00 +00:00
Ryan Cross
415d0ad7c7
Fixes Ticket #1626 . Cleanup legacy IPR models. Commit ready for merge.
...
- Legacy-Id: 9330
2015-03-25 16:17:45 +00:00