Commit Graph

43 Commits

Author SHA1 Message Date
Roberto Rosario
db340513d0 Remove use of 'navigation_object_name' template variable and simplify the use of the 'navigation_object_list' template variable 2015-04-05 01:45:30 -04:00
Roberto Rosario
5dabc0a34a Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project 2015-03-30 02:17:40 -04:00
Roberto Rosario
f4d3767b15 PEP8 cleanup, remove unused imports, fix permission check when removing metadata from a document 2015-01-26 19:17:35 -04:00
Roberto Rosario
febe21db1b Improve document related views titles messages, improve pluralization. 2015-01-24 14:25:31 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
92ad982c8a Simplify text messages 2015-01-18 02:04:33 -04:00
Mathias Behrle
1cebc4d7bf Correcting typo in message. 2015-01-17 01:47:31 +01:00
Roberto Rosario
a2bcc38b08 Properly pluralize the messages of the document metadata type add view 2015-01-16 02:14:35 -04:00
Roberto Rosario
95dd017b23 Extend issue #144 solution to the document metadata remove view too. 2015-01-16 02:12:26 -04:00
Roberto Rosario
72a0c2dd95 Properly pluralize document metadata edit view 2015-01-16 02:08:15 -04:00
Roberto Rosario
6c854116b5 Detect when a selected document or documents do not have any metadata, display a proper message and return user to the last previous view. Issue #144 2015-01-16 02:06:24 -04:00
Roberto Rosario
3399c354be Update field name according to last model property rename 2015-01-14 15:52:52 -04:00
Roberto Rosario
e4d68cb711 Also show exception with no messages, raise exception into request if in debug mode for easier debugging of unexpected errors 2015-01-14 15:51:51 -04:00
Roberto Rosario
661a63030b Add tool to show list of documents with empty metadata that is required for their type. Issue #34. 2015-01-12 01:50:44 -04:00
Roberto Rosario
c195f74310 Fix document type metadata type references 2015-01-05 05:13:09 -04:00
Roberto Rosario
11ff561b3a Remove DocumentTypeHelper class, use direct Django methods 2014-12-08 19:35:25 -04:00
Roberto Rosario
7d9277ce8b Only allow document metadata view when select same type documents 2014-11-03 02:56:29 -04:00
Roberto Rosario
1905a1ee3c Show metadata edit validation error properly 2014-11-03 00:09:25 -04:00
Roberto Rosario
9f2692d36a PEP8 cleanup, unused import removal 2014-11-02 21:20:29 -04:00
Roberto Rosario
09f4280f58 Only display metadata allowed for this document type in the add metadata view 2014-10-30 15:23:57 -04:00
Roberto Rosario
199a07ef8f Display errors while adding a metadata to a document 2014-10-30 15:16:58 -04:00
Roberto Rosario
d9d564bc4d Raise metadata editing errors while on debug mode 2014-10-30 15:01:02 -04:00
Roberto Rosario
d7b26e8bbe Show which document metadata are required, show validation error when trying to remove a required metadata type from a document 2014-10-30 03:21:44 -04:00
Roberto Rosario
cf51f70da7 Change the name of the variable used as the main title for multiform template 2014-10-30 02:45:40 -04:00
Roberto Rosario
c4c2646b60 Add view to add or remove required metadata types to a document type, simplify existing view to add remove optional metadata types 2014-10-30 02:28:49 -04:00
Roberto Rosario
eb878c165b Revert "Issue #56, #8, now that metadata types are automatically added to a document upon type change, there is no more need for the document metadata add and remove code, view, API"
This reverts commit c390fc21d7.

Re adding this feature, only required metadata should be automatically added, optional metadata would be added by the user
2014-10-29 20:17:19 -04:00
Roberto Rosario
2c2dfa88cc Issue #84, Remove template context variable 'object_name' to improve ease of translation 2014-10-28 02:36:43 -04:00
Roberto Rosario
c390fc21d7 Issue #56, #8, now that metadata types are automatically added to a document upon type change, there is no more need for the document metadata add and remove code, view, API 2014-10-28 02:16:53 -04:00
Roberto Rosario
71e8502614 Remove confirmation template's form icon 2014-10-25 02:21:44 -04:00
Roberto Rosario
2ea48bd1ba PEP8 cleanups, further removal of unused code 2014-10-21 19:28:52 -04:00
Roberto Rosario
92c76d9f33 Issue #56, Remove Metadata Sets 2014-10-21 17:14:31 -04:00
Roberto Rosario
6e3b62363e Solve issue #70 2014-10-13 17:16:14 -04:00
Roberto Rosario
9662d14e9c Issue #40, finish remaining '/' hardcoded redirects 2014-10-09 20:05:42 -04:00
Roberto Rosario
8bac1525be PEP8 cleanups 2014-10-08 19:39:16 -04:00
Roberto Rosario
a85b3b1526 Add metadata app API endpoints 2014-10-07 08:57:37 -04:00
Roberto Rosario
06dd1b3368 Issue #39, Explicitly captalize string now that they are not capitalized blindly by the templates 2014-10-02 01:17:27 -04:00
Roberto Rosario
77acb809b9 Update view references to include namespaces 2014-09-06 17:28:40 -04:00
Roberto Rosario
d7aef36442 Add url namespacing to the checkouts, linking, metadata, sources and tags apps 2014-08-26 04:06:09 -04:00
Roberto Rosario
b42e9badf6 Move common templates to apps/main/templates/main/* 2014-08-26 02:44:49 -04:00
Roberto Rosario
6b169b4526 Modernize exception handling, and improves Python 3.x compatibility 2014-07-20 16:42:30 -04:00
Roberto Rosario
6a659741af PEP8 cleanups 2014-06-30 00:57:53 -04:00
Roberto Rosario
5e3d5c7fcb Use metadata model's related name to address a document's metadata instances 2014-06-25 03:01:27 -04:00
Roberto Rosario
ec1745b50b Initial changes to support the new Django 1.6 project structure 2014-06-15 13:13:21 +02:00