Roberto Rosario
6d5d102984
Translations synchronization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 16:02:01 -04:00
Roberto Rosario
6c4af20356
Update source and compiled language files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-26 00:46:07 -04:00
Roberto Rosario
7a0c2224bb
Add model docstrings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-25 14:21:30 -04:00
Roberto Rosario
a68d7e41db
Add updates translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 12:30:35 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
80f64d7fcf
Add BaseAPITestCase class that invalidates the permission and smart settings caches.
...
Use BaseAPITestCase for all API test cases.
2017-02-16 21:12:55 -04:00
Roberto Rosario
ce6f59b9bd
Merge remote-tracking branch 'origin/master' into feature/merge_master
2017-02-13 21:00:56 -04:00
Roberto Rosario
651e370191
Add key serializer, API endpoints and API tests to the django_gpg app.
2017-02-08 01:28:30 -04:00
Roberto Rosario
92130608fb
Integrate sample documents into distributable code.
...
This is to allow tests to run in production.
2016-12-22 03:14:43 -04:00
Roberto Rosario
90de742deb
Merge remote-tracking branch 'origin/series/2.0' into merge
2016-12-19 21:59:00 -04:00
Roberto Rosario
3e63010338
Synchronize translations.
2016-11-23 03:09:56 -04:00
Roberto Rosario
9ed20091d2
Rename the licenses modules from packages.py to licenses.py
2016-11-12 23:59:50 -04:00
Roberto Rosario
99302e9300
Move package licenses to their own modules within the apps.
2016-11-12 02:28:06 -04:00
Roberto Rosario
2df6cb7985
Remove usage of url.patterns as per Django's deprecation warnings.
2016-11-04 04:02:48 -04:00
Roberto Rosario
3ab4778814
Remove lazy view string loading from urls.py as per Django's deprecation plan.
2016-11-02 17:38:54 -04:00
Roberto Rosario
6a48de5029
Update translations.
2016-10-28 04:19:15 -04:00
Roberto Rosario
d3e6b21146
Encapsulate python-gnupg code into its own backend class.
2016-10-24 18:48:26 -04:00
Roberto Rosario
3db472b0cd
Update the expected HTML content type of failing view tests.
2016-10-24 02:26:43 -04:00
Roberto Rosario
5ac1276f25
Add base test class that includes unclaimed temporary and file descriptor test mixins. GitLab issue #309 .
2016-06-27 19:20:42 -04:00
Roberto Rosario
945158bd60
Normalize handling of temporary file and directory creation.
2016-06-23 20:54:10 -04:00
Roberto Rosario
8ef65a82f5
Add missing minor migrations
2016-05-09 20:27:09 -04:00
Roberto Rosario
8075bfd0bc
Update Spanish translation.
2016-05-08 21:57:23 -04:00
Roberto Rosario
23f40ac4aa
PEP8 cleanups.
2016-04-27 20:31:02 -04:00
Roberto Rosario
3384c06c03
Mock the gpg tests that require internet access.
2016-04-27 20:19:26 -04:00
Roberto Rosario
232cb5e38d
Synchronize and compile translations.
2016-04-27 14:54:33 -04:00
Roberto Rosario
5775f5aeaa
Run makemessage for apps.
2016-04-27 14:20:45 -04:00
Roberto Rosario
be392823bb
Remove all GPG interface module.
2016-04-04 14:55:37 -04:00
Roberto Rosario
c6fb008562
Workaround problem with gpg embedded signatures corrupting the source file by using clearsign=False by default.
2016-04-01 23:28:34 -04:00
Roberto Rosario
07cd6d078f
No need to typecast the result
2016-04-01 12:33:11 -04:00
Roberto Rosario
14988bab34
Add key upload view, permission, link and test.
2016-03-30 19:05:53 -04:00
Roberto Rosario
e8c0951b0d
Add key download view, permission, link and test.
2016-03-30 18:29:39 -04:00
Roberto Rosario
09b71144b6
Add support for signing documents from the UI. Mayan EDMS is now in the major leagues :)
2016-03-30 03:47:58 -04:00
Roberto Rosario
bc59613945
Add key content sign tests.
2016-03-30 02:32:08 -04:00
Roberto Rosario
24d8287072
Add Key usage for signing permission.
2016-03-30 02:30:50 -04:00
Roberto Rosario
5de63c4477
Add support for verifying and unverifying signatures after a key is added or deleted.
2016-03-26 04:23:16 -04:00
Roberto Rosario
9744cdd358
Redirect to public or private key list after deletion of a key.
2016-03-26 04:05:40 -04:00
Roberto Rosario
4a4573fb1b
Add missing gpg directory chmod.
2016-03-26 04:05:15 -04:00
Roberto Rosario
467ad0dadb
Add more logging. Add preloading of keys to decrypt_file method. Cleanups.
2016-03-26 04:04:34 -04:00
Roberto Rosario
ffb29e0f54
Remove obsolete Document property. Use resolved_object in documents links to avoid context variable clashes with signatures.
2016-03-25 04:12:44 -04:00
Roberto Rosario
7e801ef02e
Fix verifyresult timestamp field. Remove Key ID property and verify return a separate small key id without a fingerprint when the signing key is not available.
2016-03-25 04:09:30 -04:00
Roberto Rosario
ab6e2d8c23
Fix verification using detached signature.
2016-03-24 02:47:53 -04:00
Roberto Rosario
d41dac5587
Add support for verification of detached signatures.
2016-03-24 00:27:49 -04:00
Roberto Rosario
a5f3d46373
Add a cleartext test file with a detached signature.
2016-03-24 00:26:53 -04:00
Roberto Rosario
e96f748439
Add key_id property to SignatureVerification class
2016-03-23 19:57:16 -04:00
Roberto Rosario
048ba4b5cd
Add file decryption support.
2016-03-23 19:47:41 -04:00
Roberto Rosario
45774ccdcf
Add SignatureVerification class to return verification results. Add support for specifing against which key to verify a signature. Add support to preload all keys before verifing a signature. All test for specific key verificatio and all key preloading.
2016-03-23 18:56:29 -04:00
Roberto Rosario
2f7c6ed0d9
Add embedded file signature verification.
2016-03-23 13:03:48 -04:00
Roberto Rosario
cd077cb076
Add more tests for the Key model. Remove the key_id field and made it a property derived from the fingerprint.
2016-03-23 11:58:08 -04:00
Roberto Rosario
2748d5959f
Place KeyManage on a seprate module. Convert views to use the new Key model. Add KeyStub class and use it to return query results. Add Key detail link and view. Remove the setting for multiple keyservers.
2016-03-23 00:35:32 -04:00
Roberto Rosario
189cda437f
Add model test. Finish file signing method. Add key signing exceptions.
2016-03-22 18:02:40 -04:00