Commit Graph
4549 Commits
Author SHA1 Message Date
Sunil Mohan Adapa c2cb1f32b9 restore: Use new setup mechanism 2016-02-13 13:51:55 +05:30
Sunil Mohan Adapa f78a558357 repro: Use new setup mechanism 2016-02-13 13:51:51 +05:30
Sunil Mohan Adapa 528fe47c16 quassel: Use new setup mechanism 2016-02-13 13:51:48 +05:30
Sunil Mohan Adapa a33f68f051 power: Use new setup mechanism 2016-02-13 13:51:44 +05:30
Sunil Mohan Adapa 5e094934b0 pagekite: Use new setup mechanism 2016-02-13 13:51:40 +05:30
Sunil Mohan Adapa 166ff9b5bf owncloud: Use new setup mechanism
- Also reorganize views.
2016-02-13 13:51:36 +05:30
Sunil Mohan Adapa b916d95a0b openvpn: Use new setup mechanism 2016-02-13 13:51:32 +05:30
Sunil Mohan Adapa 335eeccee9 networks: Use new setup mechanism 2016-02-13 13:51:28 +05:30
Sunil Mohan Adapa 0568bf259c names: Use new setup mechanism 2016-02-13 13:51:24 +05:30
Sunil Mohan Adapa 41e730d7ac mumble: Use new setup mechanism 2016-02-13 13:51:17 +05:30
Sunil Mohan Adapa 608d19dc2b monkeysphere: Use new setup mechanism 2016-02-13 13:51:09 +05:30
Sunil Mohan Adapa cef8f5c2c4 letsencrypt: Use new setup mechanism 2016-02-13 13:51:05 +05:30
Sunil Mohan Adapa cceddf5c0a ikiwiki: Use new setup mechanism 2016-02-13 13:51:01 +05:30
Sunil Mohan Adapa 38bf4d4549 firewall: Use new setup mechanism
- Also reorganize module to separate out views.
2016-02-13 13:50:57 +05:30
Sunil Mohan Adapa 1842db42da dynamicdns: Use new setup mechanism 2016-02-13 13:50:54 +05:30
Sunil Mohan Adapa 28a889c54b diagnostics: Use new setup mechanism 2016-02-13 13:50:50 +05:30
Sunil Mohan Adapa 68881f720c deluge: Use new setup mechanism 2016-02-13 13:50:46 +05:30
Sunil Mohan Adapa 0e0b8318d0 datetime: Use new setup mechanism 2016-02-13 13:50:42 +05:30
Sunil Mohan Adapa 9d1a940d7c config: Use new setup mechanism 2016-02-13 13:50:39 +05:30
Sunil Mohan Adapa ad8fea5eb2 avahi: Use new setup mechanism 2016-02-13 13:50:36 +05:30
Sunil Mohan Adapa 83a56bba93 apps: Use new setup mechanism 2016-02-13 13:50:32 +05:30
Sunil Mohan Adapa b112c82889 privoxy: Use new setup mechanism 2016-02-13 13:50:28 +05:30
Sunil Mohan Adapa 45a1bff51d templates: Base template for all applications
To show introduction and title of a module which will be available as
properties of a module.  This allows the setup process to show the
introduction to the application instead of a blank page.
2016-02-13 13:50:24 +05:30
Sunil Mohan Adapa 2c836046a6 main: Add command argument to setup essential apps
- The --setup argument sets up all applications that declare themselves
  as essential.

- This is done synchronously.

- Plinth exits after the setup is complete.

- Plinth fails with an error in case any of the setup tasks fail.  The
  process will be continued on next invocation or access of application
  from UI.
2016-02-13 13:50:20 +05:30
Sunil Mohan Adapa 8dcafe3e0e middleware: New middleware to check need for setup
- Call the setup helper to check if a installation or update of a module
  is required.

- Show installation and progress using the setup view.
2016-02-13 13:50:16 +05:30
Sunil Mohan Adapa 7a4a8fbc99 views: New view to show setup need and progress 2016-02-13 13:50:12 +05:30
Sunil Mohan Adapa 80d9f0d41e module_loader: Add setup helper to every module
- During initialization add a setup helper to every module.  For use
  later.
2016-02-13 13:50:06 +05:30
Sunil Mohan Adapa be6ccabec2 setup: New module to handle application setup
- There shall be a setup helper object in every module.  The setup
  process will simply call methods in helper.

- Helper is responsible for loading/storing/checking module setup
  versions.

- Methods help in showing progress of setup process automatically.
2016-02-13 13:49:59 +05:30
Sunil Mohan Adapa 2bba8b07fe models: New model to store module setup versions 2016-02-13 13:49:54 +05:30
Sunil Mohan Adapa 716ba5f1a0 package: Expose starting install without thread 2016-02-13 13:49:45 +05:30
Sunil Mohan Adapa 20a97488d9 package: Proper string casting of PackageException 2016-02-13 13:49:37 +05:30
Sunil Mohan Adapa 1e8cc6f290 Cleanup final use of urls.patterns() method
- As deprecated in Django 1.9.
2016-02-13 13:49:30 +05:30
Sunil Mohan Adapa 7f4c5f7410 Make app names as module identifiers
- The last part of the module import path is the module name.  This also
  becomes the Django app name.  Apps names have to be unique.  Hence,
  there is no scope for two different modules with same name but
  different load path to exist in the project.

- Most uses of list of loaded modules are dealing with app names instead
  of full module load path.  This is due to the fact that Django deals
  with app names and not module paths.

- It is also somewhat clumsy to access a loaded module as we are
  re-importing every time to get access module.

- Simplify all of the above by using app names are module identifiers
  and maintaing an ordered dictionary of app names to loadded modules.

- Remove unused imports.

- Minor styling fixes.
2016-02-13 13:49:23 +05:30
Caly de802f334d Translated using Weblate (Swedish)
Currently translated at 49.9% (284 of 569 strings)
2016-02-09 05:06:04 +01:00
Sunil Mohan Adapa 082c5ee1ce networks: Minor trimming to tests
- To focus only on what is being tested.
2016-02-09 09:35:14 +05:30
James Valleroy 1851b15836 networks: Fix tests, move settings to a dict 2016-02-09 09:35:01 +05:30
Sunil Mohan Adapa 41db74d6cd Translated using Transifex (Norwegian Bokmål) 2016-02-07 11:34:45 +05:30
the29a 04c096972f Translated using Weblate (Russian)
Currently translated at 24.2% (138 of 568 strings)
2016-02-07 06:42:11 +01:00
Dietmar 747728926e Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2016-02-06 10:19:02 +01:00
Sunil Mohan Adapa 9646274e0b New locale file for Russian (ru) 2016-02-06 14:48:10 +05:30
Tong Hui 12b3abcd45 Translated using Weblate (Chinese (China))
Currently translated at 92.9% (529 of 569 strings)
2016-02-06 03:44:11 +01:00
Dietmar 0b1932765d Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2016-02-05 22:07:33 +01:00
ultrapeer 78588454aa Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2016-02-04 21:45:18 +01:00
Tong Hui e4c0e86c6a Translated using Weblate (Chinese (China))
Currently translated at 69.0% (393 of 569 strings)
2016-02-02 13:14:43 +01:00
Joel Valleroy a23a40dede Removed default password warning. Fixes #386. 2016-02-02 00:12:07 +00:00
Caly dd65cb7835 Translated using Weblate (Swedish)
Currently translated at 37.0% (211 of 569 strings)
2016-02-01 06:20:17 +01:00
Tong Hui ffbe1f0ce5 Translated using Weblate (Chinese (China))
Currently translated at 4.9% (28 of 569 strings)
2016-02-01 06:20:17 +01:00
Sunil Mohan Adapa 2197da54aa Merge remote-tracking branch 'weblate/master' 2016-01-31 22:51:48 +05:30
Caly a5584fb700 Translated using Weblate (Swedish)
Currently translated at 43.7% (246 of 562 strings)
2016-01-31 18:17:02 +01:00
Sunil Mohan Adapa 506d34f397 Merge remote-tracking branch 'weblate/master' 2016-01-31 22:46:20 +05:30