Kuntz Thomas [Sat, 13 Sep 2014 15:08:03 +0000 (17:08 +0200)]
Update field_types.py
Kuntz Thomas [Sat, 13 Sep 2014 15:05:48 +0000 (17:05 +0200)]
Update field_types.py
Kuntz Thomas [Sat, 13 Sep 2014 15:01:52 +0000 (17:01 +0200)]
Update field_types.py
Kuntz Thomas [Sat, 13 Sep 2014 14:42:42 +0000 (16:42 +0200)]
Update field_types.py
Thomas Kuntz [Sat, 13 Sep 2014 12:53:32 +0000 (14:53 +0200)]
Merge branch 'devel'
Thomas Kuntz [Sat, 13 Sep 2014 12:53:23 +0000 (14:53 +0200)]
remove default value of model field)
Thomas Kuntz [Sat, 13 Sep 2014 11:41:32 +0000 (13:41 +0200)]
fix error for thumbnail field
Thomas Kuntz [Sat, 13 Sep 2014 11:31:09 +0000 (13:31 +0200)]
Merge branch 'master' of github.com:NoDesk/NoDesk-Server
Thomas Kuntz [Sat, 13 Sep 2014 11:30:18 +0000 (13:30 +0200)]
add thumbnail field to dossier template
Kuntz Thomas [Sun, 7 Sep 2014 14:46:32 +0000 (16:46 +0200)]
Update template_api.md
Kuntz Thomas [Sun, 7 Sep 2014 14:46:03 +0000 (16:46 +0200)]
Update dossier_api.md
Thomas Kuntz [Sun, 7 Sep 2014 14:25:42 +0000 (16:25 +0200)]
disable csrf middleware for now
Thomas Kuntz [Sun, 7 Sep 2014 14:24:35 +0000 (16:24 +0200)]
change
Thomas Kuntz [Fri, 5 Sep 2014 15:31:45 +0000 (17:31 +0200)]
transform all non alpha or numeric or '_' char for fieldname and model_name to '_' to be identifier
Thomas Kuntz [Wed, 3 Sep 2014 16:47:21 +0000 (18:47 +0200)]
change model_filename to model_name
Thomas Kuntz [Wed, 3 Sep 2014 16:36:30 +0000 (18:36 +0200)]
add possibility to change template name and visibility
in nodesk admin web page
Thomas Kuntz [Tue, 2 Sep 2014 23:49:13 +0000 (01:49 +0200)]
Force CRSF to be secure (send over https)
Thomas Kuntz [Tue, 2 Sep 2014 23:45:56 +0000 (01:45 +0200)]
let exception be served by django when settings.DEBUG is True
Thomas Kuntz [Tue, 2 Sep 2014 23:42:34 +0000 (01:42 +0200)]
Add auto_now to dossier_date field of a template models for dossier
Thomas Kuntz [Tue, 2 Sep 2014 23:41:59 +0000 (01:41 +0200)]
change how the filename/classname of models is used/chosen
Thomas Kuntz [Tue, 2 Sep 2014 15:38:56 +0000 (17:38 +0200)]
fix typo
Thomas Kuntz [Tue, 2 Sep 2014 12:27:48 +0000 (14:27 +0200)]
Add in the nodesk admin web page a way of config the templates (WIP)
Thomas Kuntz [Tue, 2 Sep 2014 12:26:58 +0000 (14:26 +0200)]
remove the use of a directory of yaml template
They are now just saved in the DB. The visibility is set in the nodesk admin web page
Thomas Kuntz [Mon, 1 Sep 2014 15:45:32 +0000 (17:45 +0200)]
change alive attribute to visible
Thomas Kuntz [Sat, 30 Aug 2014 15:57:25 +0000 (17:57 +0200)]
Merge branch 'devel'
Conflicts:
requirements.txt
Thomas Kuntz [Sat, 30 Aug 2014 15:55:40 +0000 (17:55 +0200)]
add django app to allow the administration/config of NoDesk
Thomas Kuntz [Sat, 30 Aug 2014 15:52:25 +0000 (17:52 +0200)]
change script according to previous commit
Thomas Kuntz [Sat, 30 Aug 2014 15:50:56 +0000 (17:50 +0200)]
Fix some bugs in the models management
Thomas Kuntz [Sat, 30 Aug 2014 15:49:03 +0000 (17:49 +0200)]
change uwsgi config
Thomas Kuntz [Sat, 30 Aug 2014 15:47:30 +0000 (17:47 +0200)]
ldap config are now read in a yaml file
Thomas Kuntz [Tue, 19 Aug 2014 11:24:04 +0000 (13:24 +0200)]
add uwsgi ini using an tcp socket instead of UNIX socket
so uwsgi can be used without nging / http proxy
Thomas Kuntz [Tue, 19 Aug 2014 11:20:22 +0000 (13:20 +0200)]
LDAP settings, uWSGI settings & fix some bug
Add/modify ldif default file for nodesk
add .ini file for uwsgi
fix some bug in nodesk_template
add test nodesk template
Thomas Kuntz [Sun, 17 Aug 2014 16:48:21 +0000 (18:48 +0200)]
ldap ldif starter config file
Thomas Kuntz [Sun, 17 Aug 2014 15:28:27 +0000 (17:28 +0200)]
Merge branch 'devel' of https://github.com/NoDesk/NoDesk-Server into devel
Thomas Kuntz [Sun, 17 Aug 2014 15:27:59 +0000 (17:27 +0200)]
uwsgi config file
Thomas Kuntz [Sun, 17 Aug 2014 15:22:34 +0000 (17:22 +0200)]
ldap config
Thomas Kuntz [Sun, 17 Aug 2014 12:50:05 +0000 (14:50 +0200)]
use python.org package instead of github for CORS
Kuntz Thomas [Wed, 13 Aug 2014 20:51:58 +0000 (22:51 +0200)]
Update views.py
pallamidessi [Wed, 13 Aug 2014 20:43:33 +0000 (22:43 +0200)]
POST login request is treated as XmlHttpRequest
Kuntz Thomas [Wed, 13 Aug 2014 15:14:49 +0000 (17:14 +0200)]
Update template_api.md
Kuntz Thomas [Wed, 13 Aug 2014 15:14:28 +0000 (17:14 +0200)]
Update dossier_api.md
Thomas Kuntz [Tue, 12 Aug 2014 15:08:37 +0000 (17:08 +0200)]
merge with nodesk_athentication
Thomas Kuntz [Tue, 12 Aug 2014 14:59:41 +0000 (16:59 +0200)]
must now be logged in to access API
Thomas Kuntz [Mon, 11 Aug 2014 13:00:42 +0000 (15:00 +0200)]
Fix a authorization flaw
Thomas Kuntz [Mon, 11 Aug 2014 12:50:41 +0000 (14:50 +0200)]
merge master
Thomas Kuntz [Mon, 11 Aug 2014 12:47:58 +0000 (14:47 +0200)]
enable CORS
Thomas Kuntz [Mon, 11 Aug 2014 10:53:34 +0000 (12:53 +0200)]
user auth is working
Thomas Kuntz [Mon, 11 Aug 2014 10:40:31 +0000 (12:40 +0200)]
oops
Thomas Kuntz [Mon, 11 Aug 2014 10:31:42 +0000 (12:31 +0200)]
fix typo
Thomas Kuntz [Sun, 10 Aug 2014 14:15:11 +0000 (16:15 +0200)]
new app for authentication
Kuntz Thomas [Sun, 10 Aug 2014 11:52:18 +0000 (13:52 +0200)]
Update template_api.md
Kuntz Thomas [Sun, 10 Aug 2014 11:48:44 +0000 (13:48 +0200)]
Update dossier_api.md
Thomas Kuntz [Sun, 10 Aug 2014 11:45:04 +0000 (13:45 +0200)]
Merge branch 'master' of github.com:NoDesk/NoDesk-Server
Thomas Kuntz [Sun, 10 Aug 2014 11:44:53 +0000 (13:44 +0200)]
add API doc
Thomas Kuntz [Sat, 9 Aug 2014 23:33:00 +0000 (01:33 +0200)]
fix typo in url
Kuntz Thomas [Tue, 5 Aug 2014 14:10:16 +0000 (16:10 +0200)]
Forgot to add licence
Thomas Kuntz [Mon, 4 Aug 2014 19:46:20 +0000 (21:46 +0200)]
testing for the rest of the API is done.
Needed modifications has been done to make the API work
Thomas Kuntz [Mon, 4 Aug 2014 10:53:45 +0000 (12:53 +0200)]
add a json field to Template model.
now the Template is sent to the app in json, not yaml
Thomas Kuntz [Tue, 29 Jul 2014 23:54:29 +0000 (01:54 +0200)]
finished the http API to create/modify/get dossier.
Need testing.
Also need to create a function for upload_to that save the file to
MEDIA_PATH/template_id/dossier_id/ (TODO)
Thomas Kuntz [Mon, 28 Jul 2014 13:29:55 +0000 (15:29 +0200)]
template url are working.
Next step is to finish dossier http API and test it
Thomas Kuntz [Mon, 14 Jul 2014 21:37:50 +0000 (23:37 +0200)]
fix some error in the code
Thomas Kuntz [Mon, 14 Jul 2014 17:54:31 +0000 (19:54 +0200)]
add code to serve dossier's attachement
Thomas Kuntz [Mon, 14 Jul 2014 16:20:12 +0000 (18:20 +0200)]
Add code in the views to get template/dossier. not tested yet
Thomas Kuntz [Sun, 13 Jul 2014 20:45:20 +0000 (22:45 +0200)]
Continuation of the implemention of nodesk template/dossier
views. Add a field to Template to determine if a Template is alive
(if it is available when creating new dossier) or not.
It is true if the yaml of the Template is still in the yaml directory
Thomas Kuntz [Sun, 13 Jul 2014 15:36:18 +0000 (17:36 +0200)]
First part the implementation of the views/url for
dossier and template
Thomas Kuntz [Sun, 13 Jul 2014 15:35:21 +0000 (17:35 +0200)]
minor changes
Thomas Kuntz [Sat, 5 Jul 2014 15:13:22 +0000 (17:13 +0200)]
Add function to sync templates files and db.
finish the refactoring begun last commit
Thomas Kuntz [Mon, 30 Jun 2014 14:39:48 +0000 (16:39 +0200)]
update (not an inspired commit message..)
Thomas Kuntz [Sun, 29 Jun 2014 15:18:53 +0000 (17:18 +0200)]
fix some bug and refactor a little
Clément Schreiner [Sun, 29 Jun 2014 10:08:40 +0000 (12:08 +0200)]
Support for checkboxes.
Clément Schreiner [Tue, 24 Jun 2014 18:29:19 +0000 (20:29 +0200)]
Remove commented code.
Clément Schreiner [Tue, 24 Jun 2014 18:27:25 +0000 (20:27 +0200)]
Make pep8 happy.
Clément Schreiner [Tue, 24 Jun 2014 18:27:02 +0000 (20:27 +0200)]
Various trivial fixes (typos and such).
Clément Schreiner [Tue, 24 Jun 2014 18:25:58 +0000 (20:25 +0200)]
Better return something than nothing.
Clément Schreiner [Tue, 24 Jun 2014 18:25:37 +0000 (20:25 +0200)]
Missing \n and indentation.
Clément Schreiner [Tue, 24 Jun 2014 17:43:19 +0000 (19:43 +0200)]
Raise exception when section in section.
Clément Schreiner [Tue, 24 Jun 2014 17:30:14 +0000 (19:30 +0200)]
Tentative (not tested) radiobox.
Clément Schreiner [Tue, 24 Jun 2014 17:20:52 +0000 (19:20 +0200)]
checkboxes and radioboxes ain't the same shit, stupid mux.
Clément Schreiner [Tue, 24 Jun 2014 15:48:47 +0000 (17:48 +0200)]
Remove superfluous "models.".
Clément Schreiner [Tue, 24 Jun 2014 15:48:29 +0000 (17:48 +0200)]
TextLine → CharField
Clément Schreiner [Tue, 24 Jun 2014 13:32:49 +0000 (15:32 +0200)]
Use closures instead of lambdas.
Clément Schreiner [Tue, 24 Jun 2014 12:48:16 +0000 (14:48 +0200)]
Remove unused field_yaml_to_model.
Clément Schreiner [Tue, 24 Jun 2014 12:40:30 +0000 (14:40 +0200)]
remove copy of template_test.yaml
Clément Schreiner [Tue, 24 Jun 2014 12:35:05 +0000 (14:35 +0200)]
fix imports + forgot quotes in simple_field.
Clément Schreiner [Tue, 24 Jun 2014 12:34:34 +0000 (14:34 +0200)]
Unused import.
Clément Schreiner [Tue, 24 Jun 2014 12:33:52 +0000 (14:33 +0200)]
Don't assert a function against itself, you moron.
Clément Schreiner [Tue, 24 Jun 2014 12:33:29 +0000 (14:33 +0200)]
Fix imports and data path.
Clément Schreiner [Tue, 24 Jun 2014 12:18:44 +0000 (14:18 +0200)]
Move tests/test_*.py to tests.py.
+ move tests/data to test_data.
(Because django doesn't like that tests/ directory.)
Clément Schreiner [Tue, 24 Jun 2014 12:17:23 +0000 (14:17 +0200)]
Use constants.INDENTATION.
Clément Schreiner [Tue, 24 Jun 2014 12:17:09 +0000 (14:17 +0200)]
Add 'tests' directory.
Clément Schreiner [Tue, 24 Jun 2014 11:50:49 +0000 (13:50 +0200)]
model_string replaced by function
Clément Schreiner [Tue, 24 Jun 2014 11:44:43 +0000 (13:44 +0200)]
Small fixes (import exception, typo and use of splittext).
Clément Schreiner [Tue, 24 Jun 2014 11:33:29 +0000 (13:33 +0200)]
Rename identation to indentation (huh.)
Clément Schreiner [Tue, 24 Jun 2014 11:32:00 +0000 (13:32 +0200)]
Tentative refactoring.
Thomas Kuntz [Sun, 22 Jun 2014 14:15:30 +0000 (16:15 +0200)]
take care of checkbox and radiobox types.
Next I'll take care of types options
Thomas Kuntz [Fri, 20 Jun 2014 21:42:34 +0000 (23:42 +0200)]
update of the function generating the model of
the different template : for now the generation is simple but it works
Thomas Kuntz [Tue, 17 Jun 2014 22:15:40 +0000 (00:15 +0200)]
update of the model manager (WIP)
All the function in field_types.py has to be defined yet
Thomas Kuntz [Tue, 17 Jun 2014 12:11:14 +0000 (14:11 +0200)]
update the model manager (still WIP)
Thomas Kuntz [Tue, 17 Jun 2014 12:10:21 +0000 (14:10 +0200)]
add nodesk_template exception file and its first Exception
(unrecognized type of a field of the template)
Thomas Kuntz [Tue, 17 Jun 2014 12:09:13 +0000 (14:09 +0200)]
switch from a unique django model file to a directory of models