Roberto Rosario
|
7ae0917564
|
Fix document app tests.
|
2016-06-08 02:02:25 -04:00 |
|
Roberto Rosario
|
38eb65151a
|
Use the GenericAPITestCase for the documents and tags api tests.
|
2016-05-30 23:52:23 -04:00 |
|
Roberto Rosario
|
395fe0cb98
|
Finish conversion of the documents app to support organizations.
|
2016-05-30 06:10:08 -04:00 |
|
Roberto Rosario
|
e5c9e91104
|
Rename view and models from "deleted document" to "trashed document". Implement document level organization support via custom 'on_organization' manager. Unfilter default 'objects' manager to operate on all documents in the database.
|
2016-05-30 03:58:30 -04:00 |
|
Roberto Rosario
|
39ba601074
|
Fix API endpoint view name in trashed document API tests.
|
2016-05-11 00:40:42 -04:00 |
|
Roberto Rosario
|
9823202405
|
Remove typecasting of file objects into Django's File class, not needed in Django >1.8.x.
|
2016-03-14 20:20:54 -04:00 |
|
Roberto Rosario
|
10eb7d49b2
|
Update API tests to use login instead of force_authenticate.
|
2016-02-04 17:39:27 -04:00 |
|
Roberto Rosario
|
2ebb84f18f
|
Remove remaining direct references to the User model. Closes GitLab issue #225.
|
2016-01-28 05:55:15 -04:00 |
|
Roberto Rosario
|
58f73f0b1e
|
Use Django's six library for Py3 compatibility.
|
2015-10-21 03:33:10 -04:00 |
|
Roberto Rosario
|
df7a5c6e1c
|
Reorganize tests literals and move then to their respective apps.
|
2015-10-20 21:14:07 -04:00 |
|
Roberto Rosario
|
64faa0ca15
|
Fix documents app view tests. Update code to match code style. PEP8 fixes.
|
2015-10-19 01:54:37 -04:00 |
|
Roberto Rosario
|
8bdd4ba452
|
Add API views to download documents and document versions.
|
2015-10-07 02:42:36 -04:00 |
|
Roberto Rosario
|
6ccfaf59f8
|
Add 1 second delay to workaround MySQL <5.6.4 not storing millisecond time data which is used to determine lastest version of a document.
|
2015-09-21 04:19:57 -04:00 |
|
Roberto Rosario
|
bd01fe1b72
|
Add 1 seconds delay to avoid version revert tests failing on MySQL. This is because MySQL doesn't store milliseconds in the DB. Version revert uses timestamp as the original document and the new version are created within the same second the revert code doesn't work. This delay is a hack and a better solution to differentiate versions by serial or similar needs to be implemented.
|
2015-09-17 02:57:28 -04:00 |
|
Roberto Rosario
|
3e3eca4c0e
|
Update all tests to use setting value overriding.
|
2015-09-06 04:01:40 -04:00 |
|
Roberto Rosario
|
683e54fea1
|
Replace unused lists with tuples.
|
2015-08-19 13:57:38 -04:00 |
|
Roberto Rosario
|
4fb86fba14
|
Re-estructure tests to cleanup the apps' namespace.
|
2015-08-18 23:06:26 -04:00 |
|