633 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
c62f0cfa72 Update README 2014-08-31 18:28:43 +05:30
Sunil Mohan Adapa
9b60347282 Update documenation on installating and developing Plinth 2014-08-31 17:11:42 +05:30
Sunil Mohan Adapa
f243dfa3ab Allow running from working directory 2014-08-31 16:32:11 +05:30
Sunil Mohan Adapa
4625bc55df Remove unused user_dir config variable 2014-08-31 16:23:50 +05:30
Sunil Mohan Adapa
472ffce68a Update URL for reporting issues 2014-08-31 16:13:21 +05:30
Sunil Mohan Adapa
4cc2dc4546 Launch test cases using "setup.py test" 2014-08-31 14:24:00 +05:30
Sunil Mohan Adapa
6d3170ece4 Use os.path.join() for creating a static directory path 2014-08-31 13:18:09 +05:30
Sunil Mohan Adapa
f4edfdedc6 Fix first boot middleware for new module structure 2014-08-31 13:17:37 +05:30
Sunil Mohan Adapa
e627c1795b Ability to read configuration from system or working directory 2014-08-31 13:14:32 +05:30
Sunil Mohan Adapa
cf61ba3c6e Update LICENSES file with new file paths 2014-08-31 13:11:57 +05:30
Sunil Mohan Adapa
ddb3b0f2c2 Use setup.py instead of Makefile 2014-08-31 13:11:27 +05:30
Sunil Mohan Adapa
9d296a6270 Update name of PID file to plinth.pid 2014-08-31 13:09:37 +05:30
Sunil Mohan Adapa
8a6bf129f3 Fix file_root in installed plinth.config 2014-08-31 13:09:14 +05:30
Sunil Mohan Adapa
b82fb629f0 Remove use of python_root in cfg and use relative path 2014-08-31 13:08:45 +05:30
Sunil Mohan Adapa
33f8015835 Make the help module read documentation directory from config 2014-08-31 13:07:00 +05:30
Sunil Mohan Adapa
5ed58d6632 Rename plinth.sample.config to plinth.config 2014-08-31 13:05:21 +05:30
Sunil Mohan Adapa
b9e668541b Remove outdated dependencies on python-bcrypt and python-passlib 2014-08-31 12:59:35 +05:30
Sunil Mohan Adapa
dc97af245e Remove outdated NOTES file
- Contains changelog like items that should be availble throught git.
2014-08-30 22:17:47 +05:30
Sunil Mohan Adapa
06a50c6985 Use open().read() instead of slurp() 2014-08-30 22:17:07 +05:30
Sunil Mohan Adapa
7e3d8ce54b Use os.mkdirs instead of custom method 2014-08-30 20:50:55 +05:30
Sunil Mohan Adapa
85f02c744e Remove vendor directory infavor of python module dependencies 2014-08-30 09:41:47 +05:30
Sunil Mohan Adapa
e6dbcdccaa Move all misc files under misc directory 2014-08-30 09:38:24 +05:30
Sunil Mohan Adapa
091faf4eaa Update default theme link 2014-08-30 09:35:26 +05:30
Sunil Mohan Adapa
e0816cd432 Update test cases for new directory structure 2014-08-30 09:33:53 +05:30
Sunil Mohan Adapa
c95db2fe7e Move themes directory into static directory 2014-08-30 09:31:46 +05:30
Sunil Mohan Adapa
0af0a593b7 Replace test case runner with a pythonic version 2014-08-30 09:30:33 +05:30
Sunil Mohan Adapa
709a540381 Rename test cases to have python standard name 2014-08-30 09:18:36 +05:30
Sunil Mohan Adapa
64b6a1294e Remove unused testdata directory 2014-08-30 09:17:21 +05:30
Sunil Mohan Adapa
ff288cf2cf Convert module/enabled files to regular files 2014-08-29 23:38:06 +05:30
Sunil Mohan Adapa
cee3c3a416 Ignore python dist and egg-info directories 2014-08-29 20:23:58 +05:30
Sunil Mohan Adapa
d3b9c0d6ec Remove recursive link to static director 2014-08-29 20:19:32 +05:30
Sunil Mohan Adapa
7798d924be Create pythonic startup script 2014-08-29 20:18:58 +05:30
Sunil Mohan Adapa
bc21fe00c4 Remove unmaintained, outdated fabfile 2014-08-29 18:25:21 +05:30
Sunil Mohan Adapa
38bdff4d1d Make plinth directory a package, add version 2014-08-29 18:19:34 +05:30
Sunil Mohan Adapa
7c60b79e89 Remove executable permissions on image files 2014-08-29 15:14:41 +05:30
Sunil Mohan Adapa
65fa648d9f Reorganize python sources into 'plinth' package 2014-08-29 12:57:27 +05:30
Sunil Mohan Adapa
eaacd3864b Remove license text for licenses no longer used 2014-08-29 12:13:33 +05:30
Sunil Mohan Adapa
90f1b52f49 Fix and generalize generating TODO list from source files 2014-08-29 12:13:33 +05:30
Nick Daly
250b0100aa Merge pull request #90 from jvalleroy/fix-templates-dir
Module template dirs are under project directory.
2014-08-19 21:34:57 -05:00
Nick Daly
b78df30c8b Merge pull request #91 from SunilMohanAdapa/fonfon-dev
Additional fixes over merge request #89
2014-08-19 21:34:20 -05:00
Sunil Mohan Adapa
7ff3742f73 Merge additional changes in fonfon/dev branch
- Remove duplicate fix for firstboot redirection
- Remove duplicate adding of actions_dir to cfg.py
- Capitalize global variable in module_loader.py
- Minor refactoring while adding app specific static directories
2014-08-17 20:35:04 +05:30
Sunil Mohan Adapa
38ea536ee3 Update a comment in makefile about modified help pages path 2014-08-17 19:45:27 +05:30
Sunil Mohan Adapa
5e25a432c3 Indentation updates
- No spaces at the beginning and end of a single line comment. (python code does this)
- Double space after a statement in a multi-line comment. (PEP-8)
- Enforce 79 character limit. (PEP-8)
- Empty line after a block ends make code more readable.
- Empty line at the end of a multi line comment. (python code seems to do this)
2014-08-17 19:45:00 +05:30
Sunil Mohan Adapa
4387c28495 Use os.path.join() instead of string concatenation in actions
Presence of / in action is not a problem at is check for early. Any other tricks
are secured against by the realpath() check immediately afterwards.
2014-08-17 19:40:58 +05:30
Sunil Mohan Adapa
642a4e10ff Improve exception handle when running actions
- Don't use depricated exception.message. Instead using exception.args
- Pass stdout output along with stderr in exception
- Handle possible exceptions such as ValueError, OSError in all cases
- Log all command executions and their errors
2014-08-17 19:39:14 +05:30
Sunil Mohan Adapa
b77c97e088 Don't use os.path.join() to concatenate URL parts
This could lead to "\" being used on Windows. Although, we won't be
supporting Windows, this is a conceptual problem.
2014-08-17 19:32:30 +05:30
Sunil Mohan Adapa
418f5ff397 Rename the context processor 2014-08-17 19:30:44 +05:30
Sunil Mohan Adapa
65cdcb1bc3 Re-introduce Django CSRF middleware
It is a security issue not to include the Django CSRF middle. Also, since we
don't have a reason to alter the Django middleware list and order, we should
use the same list.
2014-08-17 19:29:31 +05:30
Sunil Mohan Adapa
96aa493992 Fix sidebar menu in user management pages 2014-08-17 19:27:08 +05:30
Sunil Mohan Adapa
ad144116e3 Fix sidebar menu in pagekite introduction page 2014-08-17 19:26:32 +05:30