Roberto Rosario
6006fc9b74
Merge branch 'fix-context' into 'master'
...
Fix error in context: it must be a dict
See merge request !15
2017-09-07 05:13:42 +00:00
Roberto Rosario
dd1e4cb685
Update event tests to use .id of an event instead of the .name.
...
The .id now also returns the namespace.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 01:01:11 -04:00
Roberto Rosario
6dcfd1b861
Ignore ProgramminError exception too while initializing the Quota model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 01:00:31 -04:00
Roberto Rosario
d867614c1c
Update requirements versions.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:52:42 -04:00
Roberto Rosario
6cc574e631
Fix method name typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:22:00 -04:00
Roberto Rosario
5b94d202dc
Use get_object_list instead of get_queryset.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:13:28 -04:00
Roberto Rosario
3e7d3946f8
Don't error out when an object doesn't provide a get_absolute_url
...
method.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:12:17 -04:00
Roberto Rosario
2cbb1bc9e1
Add get_absolute_url method to document types.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:12:06 -04:00
Roberto Rosario
f0505db3b7
Update apps to use the new event type namespace class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-07 00:11:25 -04:00
Roberto Rosario
39995764eb
Merge remote-tracking branch 'origin/series/2.0' into development
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-06 23:09:54 -04:00
Gustavo Selbach Teixeira
7abf8a7fc0
add migration for documentmetadata value to textfield
2017-09-06 08:45:11 -03:00
Roberto Rosario
a5170c0da9
Display a document's cabinet list in italics. GitLab issue #435 .
...
Thanks to LeVon Smoker for the request.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-06 00:07:10 -04:00
Gustavo Selbach Teixeira
bbef5fd570
Makes documentmetadata value a textfield
2017-09-05 10:23:11 -03:00
Roberto Rosario
99dc39783c
Sort the list of document's cabinets.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 03:44:15 -04:00
Roberto Rosario
9fbcfcf00f
Sort the list of root cabinets. Thanks to Thomas Plotkowiak
...
for the request.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 03:42:32 -04:00
Roberto Rosario
5c138c7dbc
Silence the second properties edited event when the initial
...
version of a new document finishes processing. GitLab issue #433 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 03:27:05 -04:00
Roberto Rosario
233aca8421
Consolidate intial document created event and the first
...
document properties edited events. Preserve the user that
initially creates the document. GitLab issue #433 . Thanks
to Jesaja Everling (@jeverling) for the report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 03:22:37 -04:00
Roberto Rosario
a3e28d81e5
Improve user mailer delete view test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 02:05:58 -04:00
Roberto Rosario
78d3dd8b9b
Fix new mailer creation view. GitLab issue #431 .
...
Thanks to Robert Schöftner (@robert.schoeftner) for the
report and the solution.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-05 01:48:34 -04:00
Roberto Rosario
4d9d91b121
Make sure the local.py created used unicode for strings
...
by default. GitLab issue #424 . Thanks to Gustavo Teixeira
(@gsteixei) for the find.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-01 17:04:19 -04:00
Roberto Rosario
5225d8d068
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 03:21:56 -04:00
Roberto Rosario
27468651ff
Support unicode in URL querystring. GitLab issue #423 .
...
Thanks to Gustavo Teixeira (@gsteixei) for the find.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 03:10:44 -04:00
Roberto Rosario
91acee7630
Add test for unicode metadata values during uploads.
...
Add furl to the requirements.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:18:56 -04:00
Roberto Rosario
93e95705f8
Allow passing url path and not just view names to the test
...
client.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:18:11 -04:00
Roberto Rosario
c375282de0
Remove repeated import.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:17:57 -04:00
Roberto Rosario
104e779087
Add a metadata test mixin.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:17:22 -04:00
Roberto Rosario
bcae72bb34
Add a test unicode metadata value.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:15:53 -04:00
Roberto Rosario
2e4cb03f2d
Fix local setting file template indent.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-30 02:20:07 -04:00
Roberto Rosario
da82c7fe51
Use Django's get_random_secret_key instead of own code.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-30 01:46:24 -04:00
Roberto Rosario
ded6982a19
Improve workflow permission setup.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-30 01:12:41 -04:00
Roberto Rosario
861ee25c9c
Add error log list view tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-30 01:12:15 -04:00
Roberto Rosario
5f1544154c
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-30 01:12:04 -04:00
Roberto Rosario
e0d8a1d7b3
Add a test for the createsettings command.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 21:51:51 -04:00
Roberto Rosario
1d5e793c84
Make the local setting filename created a dynamic one.
...
Move the local setting file template into a separate module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 21:51:05 -04:00
Roberto Rosario
7be2c64abe
Convert a UUID to string in a Python3 compatible way.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:31:12 -04:00
Roberto Rosario
942b7c93ef
Use BytesIO.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:16:33 -04:00
Roberto Rosario
3ccebbe227
Use the urlparse method from django.six.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:15:43 -04:00
Roberto Rosario
b8ac9c7553
Don't mix bytes and text literals.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:15:00 -04:00
Roberto Rosario
8a0c8f47a0
Import xmlrpc from django.six. Use compatible dict_types. Use
...
compatible reduce since it has been removed from Python3.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:13:52 -04:00
Roberto Rosario
d8b3a17a7a
Update statistics imports.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:13:24 -04:00
Roberto Rosario
669f50c504
Import unquote_plus fro django.six.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:13:03 -04:00
Roberto Rosario
9dba40a1d8
Use BytesIO instead of StringIO. Use text_type instead of unicode.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:12:18 -04:00
Roberto Rosario
83491dd7e1
Update urllib imports to use django.six. Use items(). Update usage
...
if sorted for Python 3.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:08:59 -04:00
Roberto Rosario
03c8834772
Import collapse_rfc2231_value for the compatibility module.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:05:33 -04:00
Roberto Rosario
93431c09ce
Use items() instead of iteritems().
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:05:14 -04:00
Roberto Rosario
eab3b660cb
Update exception detection to work with Python3 format.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:04:04 -04:00
Roberto Rosario
2762eeb4d4
Add compatibility module.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:02:00 -04:00
Roberto Rosario
32feb98874
Rename statistics app to mayan_statistics to avoid library class
...
with Python3 statistics app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:01:41 -04:00
Roberto Rosario
69514767b6
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-28 21:52:51 -04:00
Roberto Rosario
272c64d903
Create workflow action errors using the generic object error
...
namespace and not directly to the model.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-28 17:57:42 -04:00