Commit Graph

183 Commits

Author SHA1 Message Date
Roberto Rosario
f2c351fbc7 Remove the SITE_ROOT settings variable and use Django's MEDIA_ROOT instead.
By default MEDIA_ROOT will point to a new 'media' inside Mayan's main directory.
2014-07-11 01:06:50 -04:00
Roberto Rosario
3f9adb0922 Separate development settings file into two, with and without Django Debug Toolbar 2014-07-11 00:39:58 -04:00
Roberto Rosario
972aa02976 Merge branch 'master' of https://github.com/cccs-web/mayan-edms into cccs-web-master
Conflicts:
	mayan/settings/includes/common.py
2014-07-11 00:32:50 -04:00
Roberto Rosario
2a89e2be23 Merge pull request #13 from mbehrle/feature/lost_merges
Feature/lost merges
2014-07-10 20:42:02 -04:00
Mathias Behrle
30f73ba73c Increasing field length of page_label to 40 chars.
The german translation takes 33 chars. This breaks saving the ocr
 result.
2014-07-11 01:59:04 +02:00
Roberto Rosario
bc2a04efa2 Add document uploading and deletion functional test 2014-07-10 19:51:56 -04:00
Mathias Behrle
53ab7a23e6 Adding french cleanup file. 2014-07-11 01:08:11 +02:00
Mathias Behrle
506d65c93e Adding language correction file for Germany (deu). 2014-07-11 00:56:15 +02:00
Roberto Rosario
607050be65 Remove unused link and url pattern 2014-07-10 04:46:35 -04:00
Roberto Rosario
656c2e6d3c Use the document display view and not the document preview view by default now when clicking on document thumbnails 2014-07-10 04:45:53 -04:00
Roberto Rosario
c7e197378c Remove unused URL pattern 2014-07-10 04:39:21 -04:00
Roberto Rosario
fc71ca8f8a Update document widget parameters 2014-07-10 04:38:54 -04:00
Roberto Rosario
9194b45e91 Update document metadata accesor name 2014-07-10 04:38:33 -04:00
pwhipp
ec6466dce2 removed redundant import 2014-07-10 17:43:38 +10:00
pwhipp
af7effb9cb Added deployment information for production site 2014-07-10 17:42:07 +10:00
pwhipp
a011098c2c Added .gitignore so that secrets.py never gets added into the repo by accident. 2014-07-10 17:03:11 +10:00
pwhipp
877ec04faf Added explicit debug toolbar setup 2014-07-10 17:02:01 +10:00
pwhipp
b9bf845964 Added required postgres database configuration 2014-07-10 17:01:44 +10:00
pwhipp
4adab09214 Simplified configuration and corrected debug_toolbar induced problem 2014-07-10 16:48:37 +10:00
Roberto Rosario
3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
pwhipp
71e35f5746 Added settings/development.py 2014-07-10 16:28:12 +10:00
pwhipp
a05d92cead Added settings/includes/secrets.py facility for site specific secret data that should not be in the repo. 2014-07-10 16:26:10 +10:00
pwhipp
d7976375ec Tidied BASE_DIR/SITE_ROOT 2014-07-10 16:20:00 +10:00
pwhipp
4b30eb7ff9 Moved original settings to be common includes. 2014-07-10 16:13:30 +10:00
pwhipp
0ef00b5082 Reverted to default (sqlite) settings so all working. 2014-07-10 15:59:03 +10:00
Roberto Rosario
beaccf7128 Create the instance if it haven't already 2014-07-10 01:49:02 -04:00
Roberto Rosario
ff2b88dd35 Add missing import 2014-07-10 01:48:32 -04:00
Roberto Rosario
82934c50e7 Move sources app API views to their own module 2014-07-10 01:48:09 -04:00
Roberto Rosario
ab83bac0b3 Move tags app API view to their own module 2014-07-10 01:47:45 -04:00
Roberto Rosario
f2cd288574 Add anonymoususer sigleton model manager 2014-07-10 01:47:15 -04:00
Roberto Rosario
8276dd111a Cleanups 2014-07-10 01:28:46 -04:00
Roberto Rosario
c753d74e46 More clear exception handling 2014-07-10 01:28:21 -04:00
Roberto Rosario
4e5c4c50f4 Move documents app api view back into their own module 2014-07-10 01:27:39 -04:00
Roberto Rosario
5212d84090 Remove common app's Singleton model and use django-solo's SingletonModel instead 2014-07-10 01:26:51 -04:00
pwhipp
a14f8cb980 Tidied common settings 2014-07-10 15:14:53 +10:00
Roberto Rosario
0e8fa18b1c Add config folder and example.py settings file 2014-07-09 19:41:06 -04:00
Roberto Rosario
fe1397408c Merge remote-tracking branch 'origin/master' 2014-07-09 19:14:58 -04:00
Roberto Rosario
6eada315ce Add tag app API endpoints 2014-07-09 19:12:12 -04:00
Roberto Rosario
db15e0f85d Add related name accesor to the tag properties model 2014-07-09 19:11:47 -04:00
Mathias Behrle
bf854ebd30 Fixing typo in documents/view.py. 2014-07-10 00:55:26 +02:00
Roberto Rosario
59b88de5cd Code cleanups 2014-07-09 18:39:15 -04:00
Roberto Rosario
e4130bea97 Add missing PermissionDenied import 2014-07-09 18:13:44 -04:00
Roberto Rosario
358a8e3549 Move API code to the views modules 2014-07-09 18:13:16 -04:00
pwhipp
23ed5b15a2 Reconfigured settings to support mayan/apps and separate production and development. 2014-07-10 07:29:38 +10:00
Roberto Rosario
1b1fb87eac Enable custom permission checking and api result filering 2014-07-09 16:46:55 -04:00
Roberto Rosario
021369d0db Add custom api filtering and permission checking 2014-07-09 16:46:38 -04:00
Roberto Rosario
d40931ad5b Add basic authentification 2014-07-09 16:45:42 -04:00
Roberto Rosario
12ab3854f9 Add a link to the REST API documentation app 2014-07-09 14:42:07 -04:00
Roberto Rosario
c7a3afc35a Add serializers, document api endpoints, rename url parameter for clarity 2014-07-09 14:24:32 -04:00
Roberto Rosario
e60d5fedfa Add django rest swagger to the requirements 2014-07-09 14:23:45 -04:00