Sunil Mohan Adapa
5630a96b77
Use isinstance() instead of callable()
2014-09-19 19:10:50 +05:30
Sunil Mohan Adapa
20dab06ea3
Eliminate implicit relative imports
...
Convert to either absolute imports or explicit relative imports
2014-09-19 19:09:49 +05:30
fonfon
53adac652b
introduced signals for pre/post-module-loading
2014-09-12 22:26:35 +02:00
Sunil Mohan Adapa
770e4c00fd
Merge remote-tracking branch 'fonfon/dev'
2014-09-11 19:16:13 +05:30
fonfon
43a614fca5
plinth should be run via './bin/plinth' now
2014-09-11 12:23:52 +02:00
Sunil Mohan Adapa
42d05bfe1f
Use Django models to store variables
...
- Remove dependency on withsqlite and use Django models.
This avoids depending on a module that is not available in PyPi.
Withsqlite does not have Python3 support. It does not work when
we choose a different database backend. Atleast partly duplicates
what Django models are meant for.
- Check and update database schema on every run so that
newly added modules can add tables and old ones can update.
2014-09-10 12:35:35 +05:30
fonfon
837d2d1d10
removed one relative import
2014-09-09 21:05:20 +02:00
fonfon
d661b64a33
fixed static dir of plinth-modules
2014-09-09 16:20:35 +02:00
fonfon
f2d8267ef1
Merge remote-tracking branch 'upstream/master' into dev
2014-09-09 15:00:30 +02:00
James Valleroy
fd01cc84fe
Update module-manager to use enabled folder with regular files.
2014-09-07 16:06:19 +00:00
fonfon
e1440a5ee5
formatting strings: %s automatically applies the str() method
2014-09-03 04:56:31 +02:00
fonfon
d27c3f69d1
renamed get_group to get_or_create_group
2014-09-03 04:52:34 +02:00
fonfon
7bb9c84863
Fixed ImportError when running plinth as daemonized python package
2014-09-03 04:43:08 +02:00
Sunil Mohan Adapa
7a649b6f81
Remove duplicate, outdated version info from __main__.py
2014-09-02 18:26:43 +05:30
Sunil Mohan Adapa
27cdadbc76
Log a message showing the config file used
2014-09-02 14:47:35 +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
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
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
e0816cd432
Update test cases for new directory structure
2014-08-30 09:33:53 +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
38bdff4d1d
Make plinth directory a package, add version
2014-08-29 18:19:34 +05:30
Sunil Mohan Adapa
65fa648d9f
Reorganize python sources into 'plinth' package
2014-08-29 12:57:27 +05:30
Nick Daly
a97061055c
Merged: tzafrir's install_dir patch.
...
Author: Tzafrir Cohen <tzafrir@debian.org>
Description: These things are easier to install with dh
* Python modules: fighting with dh_python2 is tough
(it changes the /etc/ symlink, for isntance)
* Let's just install man pages ourselves for now.
* symlinks: with dh_link
2013-09-08 17:31:27 -05:00