Sunil Mohan Adapa
dda4b930e0
Fix infinite redirection in first boot
2014-08-17 19:20:44 +05:30
Sunil Mohan Adapa
f0739a18e6
Add a default value for actions_dir
2014-08-17 19:06:15 +05:30
James Valleroy
64666d8b3a
Module template dirs are under project directory.
2014-08-16 18:15:59 -04:00
fonfon
8e2036928d
allow app- and page-specific head and javascript files
2014-07-30 15:59:38 +03:00
fonfon
d73c996547
renamed app-specific head block
2014-07-30 15:24:18 +03:00
fonfon
219109511f
templates: allow adding module/app specific static files when extending base.html
2014-07-30 15:16:28 +03:00
fonfon
57ba43cfc9
allow modules to have custom static directories
2014-07-30 15:03:52 +03:00
fonfon
27287097c5
Merge branch 'tests' into dev
2014-07-29 19:31:01 +03:00
fonfon
5b88015a28
improved my bugfix :>
2014-07-29 18:16:54 +03:00
fonfon
cde5f25239
bugfix: no more circular redirects to /firstboot
2014-07-29 17:05:29 +03:00
fonfon
bd589b37cc
removed deprecated tests, and made the existing ones run again
2014-07-11 05:59:21 +03:00
fonfon
f7c425384d
updating documentation and translation
2014-07-11 03:14:45 +03:00
fonfon
1cf1cb2e90
moved context_processor from plinth.py to a separate file; removed two unnecessary context variables: 1) use cfg.main_menu instead of main_menu; 2) request_path is available automatically
2014-07-11 02:36:25 +03:00
fonfon
0d0c9f7bb0
removed all manual url prefix handling, we only use djangos url system now
2014-07-11 01:11:59 +03:00
fonfon
0e18fe3c1c
Merge 'middleware' changes
2014-07-10 23:29:41 +03:00
fonfon
5150efac5f
menu and submenu now also uses djangos named urls and url-reverse
2014-07-10 23:29:06 +03:00
fonfon
809dc4130a
also raise url-import and init-errors in debug mode
2014-07-10 20:24:08 +03:00
fonfon
19f36f67d9
moved firstboot handling to a firstboot middleware
2014-07-10 19:49:41 +03:00
fonfon
cf03ee160a
raise module exceptions in DEBUG mode
2014-07-10 18:35:28 +03:00
fonfon
0d5636a900
refactored actions to use exceptions instead of return-values
2014-07-10 18:27:49 +03:00
fonfon
a40d42eb60
made actions.py more pep8 compliant; added one more check to verify that an action is within the actions directory; moved actions directory path into the settings instead of hard-coding it
2014-07-10 06:02:33 +00:00
fonfon
aa65205403
Merge remote-tracking branch 'fbxat/master'
2014-07-10 04:35:30 +00:00
fonfon
8ebb88fd68
Merge pull request #1 from fonfon/master
...
Update to include several django-changes by Sunil and some url-changes by fonfon
2014-07-14 13:15:21 +02:00
fonfon
50f657fbc5
tiny docstring, import and trailing slash change
2014-07-10 04:33:12 +00:00
fonfon
a82a83576f
use djangos named URLs and url-reverse instead of manually constructing urls
2014-07-10 03:44:52 +00:00
fonfon
32872cea12
fixed broken links in main/sidemenu when using server_dir '/'
2014-07-09 03:15:39 +00:00
fonfon
d4d6948eb9
when running plinth with default server_dir '/' some static files and redirects were wrong -- fixed that;
2014-07-09 00:58:20 +00:00
Nick Daly
a8ed02b723
Merge pull request #86 from SunilMohanAdapa/python-logging
...
Python logging
2014-07-07 00:37:36 +00:00
Nick Daly
9b1f2c6f0d
Merge pull request #85 from SunilMohanAdapa/django-auth
...
Django auth
2014-07-07 00:37:28 +00:00
Nick Daly
29d60fb106
Merge pull request #84 from SunilMohanAdapa/misc2
...
Add option to run Plinth in non-daemon mode
2014-07-07 00:37:22 +00:00
Nick Daly
e656e3ee47
Merge pull request #82 from SunilMohanAdapa/django-routing
...
Use Django dispatcher instead of CherryPy dispatcher
2014-07-07 00:37:02 +00:00
Sunil Mohan Adapa
f88737b913
Configure python logging via Django and remove custom logger
2014-07-05 21:30:30 +02:00
Sunil Mohan Adapa
f4a2181762
Move main module to python logging
2014-07-05 21:29:40 +02:00
Sunil Mohan Adapa
431a585636
Move views to python logging
2014-07-05 21:28:43 +02:00
Sunil Mohan Adapa
1e4deb7bb9
Move module loader to python logging
2014-07-05 21:28:19 +02:00
Sunil Mohan Adapa
6186be4421
Move xmpp module to python logging
2014-07-05 21:28:06 +02:00
Sunil Mohan Adapa
eba3021765
Move users module to python logging
2014-07-05 21:28:00 +02:00
Sunil Mohan Adapa
588e3a62bd
Move pagekite module to python logging
2014-07-05 21:27:53 +02:00
Sunil Mohan Adapa
b4183618c1
Move firewall module to python logging
2014-07-05 21:27:46 +02:00
Sunil Mohan Adapa
8d477fceb7
Move config module to python logging
2014-07-05 21:27:34 +02:00
Sunil Mohan Adapa
ae02192009
Remove unused filedict module
2014-06-28 13:23:32 +02:00
Sunil Mohan Adapa
cff0f1bdf6
Use Django auth framework instead of custom one
...
- Store users using Django user/group/permission model
- Database is data/plinth.sqlite3 instead of data/user.sqlite3
- Use Django auth context processors in templates
2014-06-28 13:11:34 +02:00
Sunil Mohan Adapa
b1406f59d3
Remove unused templates err.html and two_col.html
2014-06-24 11:47:10 +02:00
Sunil Mohan Adapa
fb2f91d4b4
Merge login_nav template with base template
2014-06-24 11:40:49 +02:00
Sunil Mohan Adapa
f4fe85ae28
Refactor global code in configuration module
2014-06-23 12:22:46 +02:00
Sunil Mohan Adapa
d9bebe67f5
Remove unused misc utility methods
2014-06-23 00:07:00 +02:00
Sunil Mohan Adapa
b76a74e684
Use Django messages module for showing messages
2014-06-22 11:49:39 +02:00
Sunil Mohan Adapa
fc37293ac6
Update .gitignore
2014-06-21 11:44:43 +02:00
Sunil Mohan Adapa
78406f16e8
Refactor global code from plinth.py
2014-06-21 11:44:21 +02:00
Sunil Mohan Adapa
ab80dc34d6
Add option to run as non-daemon mode
...
- Pass on debug option with Django
- Cleanup option parsing
2014-06-19 17:50:41 +02:00