970 Commits

Author SHA1 Message Date
James Valleroy
f0c5cd080c Add wifi security settings. 2015-04-06 22:21:29 +05:30
James Valleroy
f63d8d29de Connect to network selected from scan page. 2015-04-06 22:21:29 +05:30
James Valleroy
c0cd01221e Add wifi scan page to networks module. 2015-04-06 22:21:28 +05:30
James Valleroy
9b201a2daf Rename network module to networks.
Move networkmanager helper functions into a new file.
Add some network tests.
2015-04-06 22:21:28 +05:30
James Valleroy
c6a2e6abd7 Separate network-manager logic from network module views. 2015-04-06 22:21:28 +05:30
James Valleroy
201c96cb36 Add form to edit network connections. 2015-04-06 22:21:28 +05:30
James Valleroy
1c69b6cdb6 Set auto or static IPv4 address. 2015-04-06 22:21:28 +05:30
James Valleroy
0f99de9347 Add Ethernet or Wifi connection 2015-04-06 22:21:28 +05:30
James Valleroy
17040d4762 Enable and disable network connections 2015-04-06 22:21:28 +05:30
James Valleroy
6ad1fb9ce7 Network connection list and delete 2015-04-06 22:21:28 +05:30
James Valleroy
d4ac0c3b46 Update dynamicdns views to use new required package list format. 2015-04-04 13:14:57 -04:00
Sunil Mohan Adapa
a2039c342d packages: handle speed updates during installation 2015-04-04 12:25:12 -04:00
Sunil Mohan Adapa
3a22e1717e packages: refresh package list before install and handle errors
- Refresh package list before trying to install packages.  Also lookup
  the ID of the package, including the version, using the newly fetched
  package list.

- Call on_install() callback requested by modules only if the package
  installation was successful.  Handle any exception raised in the
  callback itself.

- Handle exceptions raised during packagekit operations.  Also check the
  returned results for error code.

- Capture error/success status during a transaction.  Don't destroy the
  transaction object until the error/success status has been collected.
  When a view is refreshed after completion of a transaction collect the
  result of the transaction and show it to the user.

- Handle cases where package searches in the package list fails.  Simply
  show the package name without its description.
2015-04-04 12:25:12 -04:00
Bob Girard
c7a8bcbd17 Skip tests for now requiring Django configuration
Tests pass locally, but not in Travis-CI. Tests will
be re-enabled when Django configuration is added.
2015-04-01 23:07:12 -07:00
Bob Girard
41d6cae0a9 Enable integration of Plinth with Travis-CI
- Add files .travis.yml and requirements.txt
- In setup.py, remove 'pygobject' from install_requires
- In setup.py, add 'pyyaml' to install_requires
- Add file plinth/tests/coverage/__init__.py
- Rename file plinth/tests/coverage/test_coverage.py to coverage.py
- In plinth/tests/coverage/coverage.py, rename class TestCoverageCommand
  to CoverageCommand
2015-04-01 16:12:59 -07:00
Sunil Mohan Adapa
a4b33e07c8 xmpp: List all configured vhosts during user registration
Try to make the terminology a bit more consistent by renaming server ->
vhost and server -> domainname according to the situation.
2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa
7bd9f41833 xmpp: Add yaml as install dependency in setup.py 2015-03-30 01:52:31 +05:30
James Valleroy
dae7abd00f Use domainname as ejabberd host.
Only use hostname when domainname is blank.
2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa
be838a30c1 package: Add ability to receive notification on install
- Fix issue with Mumble firewall enabling after a fresh install.
2015-03-28 16:02:39 -04:00
Sunil Mohan Adapa
2028a63deb mumble: Add new module for installing, enabling/disabling 2015-03-28 16:02:39 -04:00
Sunil Mohan Adapa
475ddd0c72 firewall: Fix bootstrap 2->3 style for diabled items 2015-03-28 16:02:39 -04:00
James Valleroy
af94194b7a Merge remote-tracking branch 'steglicd/dynamicdns' 2015-03-26 16:02:07 -04:00
Daniel Steglich
4977258f78 use global wget options in addition to specific wget options 2015-03-26 18:45:17 +01:00
Daniel Steglich
2c36160237 removed debug output 2015-03-26 13:33:50 +01:00
Daniel Steglich
66e9b00567 built in string substitution of bash shell does not work with dash. avoid this incompatibility. 2015-03-25 21:47:50 +01:00
Daniel Steglich
c4fa908dd7 local vars are only possible inside of functions 2015-03-25 21:13:08 +01:00
Daniel Steglich
b4b3bb83f4 updated help message 2015-03-25 21:11:03 +01:00
Daniel Steglich
b4eba95759 fixed missing bracket in awk command 2015-03-25 21:04:01 +01:00
Daniel Steglich
22033aaea5 fixed some syntax errors after last changes 2015-03-25 19:43:22 +01:00
Daniel Steglich
3d8228ce38 made the bash script code shellcheck compatible, replaced obsolete statements 2015-03-25 19:28:43 +01:00
Daniel Steglich
09c541ea5c fixed missing whitespace 2015-03-25 17:30:05 +01:00
Daniel Steglich
8af4ee423a removed dictionary because string values can be used in dropdown menu directly 2015-03-13 14:09:58 +01:00
Daniel Steglich
337fa56b15 refactoring, made the code more readable, use consistent indentions, whitespaces and linebreaks next to brackets 2015-03-12 17:07:21 +01:00
Daniel Steglich
e94c85c357 improved help texts 2015-03-10 09:00:56 +01:00
Daniel Steglich
66a4083891 moved reconfiguration of dropdown display directly to the onchange function of the dropdown box as the code is not used elsewhere 2015-03-10 00:31:30 +01:00
Daniel Steglich
dfe35c9c97 improved helper text 2015-03-09 23:39:35 +01:00
Daniel Steglich
8269cfe97e removed duplicate code and avoid deleting form field config on reload 2015-03-09 23:33:09 +01:00
Daniel Steglich
2782406cae improved form validation (only request domain/user/pass if gnudip is selected to allow empty params on update URL), and stripped single qoutes from empty values to avoid showing them when form is loaded 2015-03-09 23:32:13 +01:00
Daniel Steglich
c59fcf0d29 fixed status return string of updateurl 2015-03-09 23:30:45 +01:00
Daniel Steglich
41352912a3 copyright notice added 2015-03-09 22:58:51 +01:00
Daniel Steglich
1a3d7a3d00 only validate form fileds if the form is enabled at all 2015-03-09 22:36:21 +01:00
Daniel Steglich
9f8281f9dc do not change values of dropdown element, but change selection 2015-03-09 22:35:51 +01:00
Daniel Steglich
6bb73467a6 improved helptext 2015-03-09 22:06:21 +01:00
Daniel Steglich
9f6d9487bd use ssl for freedns 2015-03-09 21:57:34 +01:00
Daniel Steglich
4356a2cff3 fixed typo 2015-03-09 21:53:12 +01:00
Daniel Steglich
fa076edda4 fixed indention 2015-03-09 21:44:25 +01:00
Sunil Mohan Adapa
2dd303e9ac owncloud: Make setup more robust to repeatition
Create postgresql user and set password in two steps instead of one.  This
ensures that if a user already exists for some reason (setup already run), then
re-running will simply set a new password and generates a new configuration.
Otherwise, the user creation setup having failed because of existing user will
also fail to set new password and the generated configuration is not usable.
2015-03-08 13:23:36 +05:30
Sunil Mohan Adapa
d8ba09eb74 owncloud: Minor cleanup in action file 2015-03-08 13:23:36 +05:30
Sunil Mohan Adapa
57094d9820 owncloud: Check for database configuration to treat as enabled
- Newer version of owncloud package enable the Apache2 owncloud configuration
  by default.  This happens eventhough database configuraiton is not available.
  Plinth only checks for Apache2 owncloud configuration as enabled to determine
  if owncloud is enabled and hence falsely shows the owncloud is enabled.

- Newer version of owncloud also create a /etc/owncloud/config.php with simple
  instance identifier set.  So merely checking if the files exists is not of
  much use.

- This patch checks if the dbtype variable is configured in config.php or
  autoconfig.php along with Apache2 owncloud configuration to determine if
  owncloud is enabled.

- The same logic is used to determine if autoconfig.php must be generated.
2015-03-08 13:22:35 +05:30
Daniel Steglich
15a6c49922 only show fields according to dropdown menu when entering form first tim (after enable checkbox was selected) 2015-03-07 00:03:00 +01:00