Commit Graph
574 Commits
Author SHA1 Message Date
Sunil Mohan Adapa 47596c47ff xmpp: Fix display of domain name in template 2016-06-03 18:53:50 -04:00
Sunil Mohan Adapa d3f386733f diagnostics: Use curl instead of wget for URLs
wget does not seem to support interface scoping for IPv6 addresses.  For
example, http_proxy=http://[fe80::babe:ff:ffff:babe%eth0]:8118/ . Curl
supports this.

This fixes most of the failures for IPv6 related addresses.  Hide the
last failure as there does not seem to be a proper fix from OS level:
when using link local addresses, if a hostname is resolved to IPv6 link
local address, it is not scoped to that interface.  It can't properly be
used by any tool then.
2016-06-03 16:22:02 -04:00
Sunil Mohan Adapa 97b77e3719 diagnostics: Implement scoping for IPv6 addresses 2016-06-03 16:21:59 -04:00
Sunil Mohan Adapa 288a9e7bf9 privoxy: Fix issue with privoxy diagnotic tests
The URL is always https:// so we only need https proxy and nothing else.
2016-06-03 16:21:53 -04:00
James Valleroy f6884a18fa Set privoxy listen-address by debconf preseed before install. 2016-05-25 19:23:54 -04:00
James Valleroy f01575e2ea Move ldap setup from freedombox-setup to plinth. 2016-05-21 16:06:18 -04:00
Sunil Mohan Adapa 60e52d2729 Deal with ownCloud removal from Debian
It has been decided that FreedomBox will no longer support ownCloud due
it's removal from Debian.  To deal with this:

- Don't show ownCloud in Plinth any more for new users.

- For users who have already installed ownCloud, show a warning message
  that they need to migrate away from ownCloud or need to manage it
  manually.
2016-05-17 18:48:08 -04:00
fonfon bc2cba0cbf tor: remove circular import 2016-05-11 18:19:49 -04:00
fonfon f867ecfb16 Removed (accidentially) duplicate dyndns description 2016-05-11 18:19:46 -04:00
fonfon 895f329654 Services: minor cleanup
- remove Service.description (not used anymore)
- remove datetime template (use default service.html instead)
2016-05-11 18:19:42 -04:00
fonfon 398e6d7b14 Services: fix unittests 2016-05-11 18:19:39 -04:00
fonfon b54846b0ce Services: Template restructuring
- renamed app.html to simple_service.html
- allow hiding the 'status' block instead of using separate
  apache_service.html template
2016-05-11 18:19:35 -04:00
fonfon f419c28596 Services: Explicitly use ServiceForm and ServiceView
- adapted all modules to not use views.ConfigurationView anymore
- removed templates that are not needed anymore
- no more implicit 'enabled' and 'get_status' functions in __init__.py files
- (more coherent/explicit use of Django functionality)
2016-05-11 18:19:31 -04:00
fonfon a9528c56d9 Service object to handle services on a system-level
The Service object now offers handling services on a system level,
and gathering information whether it's enabled or running.
New methods: enable, disable, is_enabled, is_running;

For this it needs the correct (system-level) service name.
All of the methods can be overridden/customized.

This changes all modules to the new Service object and deletes
action scripts that are not required anymore.
2016-05-11 18:19:27 -04:00
fonfon 9fe49f881f Services-Action to handle and list services managed by plinth
- API: start, stop, enable, disable, reload, is-running, is-enabled, list
- only allows access to a service if the service name is listed in a
  'managed_services' variable of any plinth module.
2016-05-11 18:19:14 -04:00
Sunil Mohan Adapa 16d6ff3941 roundcube: Minor fix in setup process notification 2016-05-08 10:47:08 +05:30
Sunil Mohan Adapa 1489b81fee diagnostics: Fix a warning about a global use 2016-05-07 11:48:18 -04:00
James Valleroy a6417c59a7 tor: Use augeas to modify configuration.
- Use json to get info from action script.
- Add SSH port to hidden service.
- Enable hidden service during setup.
2016-03-15 18:50:51 -04:00
fonfon cd82188efd datetime: Fix wrong ConfigurationView import
Also rename Transmission's ConfigurationView
2016-03-14 19:29:40 +05:30
Sunil Mohan Adapa a51c784457 Various message fixes
- Capitalize 'Internet' to make it consistent across Plinth.  See:
  https://en.wikipedia.org/wiki/Capitalization_of_%22Internet%22

- Other minor fixes
2016-03-13 18:20:54 -04:00
Sunil Mohan Adapa c3c44ab379 firstboot: Minor Danube PageKite fixes
- Fix message internationalization with formatting and laziness.

- Styling fixes.

- Simplify Subdomain widget.

- Update messages for grammer and consistency.
2016-03-13 23:32:26 +05:30
fonfon 435f980c6f firstboot: freedombox.me pagekite vouchers
- Show PageKite voucher only if cfg.danube_edition is enabled
2016-03-13 23:32:20 +05:30
James Valleroy 767e3c4757 dynamicdns: Make corrections to source strings. 2016-03-12 16:11:55 -05:00
Sunil Mohan Adapa 4c6d572e67 ttrss: Ensure database used is PostgreSQL
- Installing dbcommon-pgsql and not install dbcommon-mysql does not
  ensure that PostgreSQL is selected as the database for the
  application.  Set a debconf value to force selection of PostgreSQL.

- Minor styling fixes.
2016-03-12 17:17:50 +05:30
James Valleroy 368e64c5ca ttrss: Use LDAP authentication 2016-03-12 11:38:28 +05:30
James Valleroy 47a54fadd1 ttrss: Add basic configuration 2016-03-12 11:38:22 +05:30
James Valleroy 15591b79ca ttrss: Update to use ConfigurationView 2016-03-12 11:38:14 +05:30
Jallepalli Ashok Kumar 80bab090bf ttrss: New module for Tiny Tiny RSS feed reader 2016-03-12 11:37:28 +05:30
James Valleroy cc35fc2a68 monkeysphere: Remove key ID field from detail view. 2016-03-08 17:49:12 -05:00
Sunil Mohan Adapa f4601e7b05 monkeysphere: Reorganize around keys instead
- Read Apache configuration to find the list of all available
  certificates and their associated domains.  Use this for setting UIDs
  properly.

- Solve the issue of re-importing renewed certficiate.  Use the SSH
  fingerprints as unique keys instead of domain names.  Compute SSH
  fingerprints for SSH keys and HTTPS certficates inorder accurately
  identify if they are currently imported into monkeysphere.

- Allow having more than one domains for a certficiate.  Add action to
  import new domains to an existing monkeysphere OpenPGP key.

- Import only once for a given certficiate and keep adding UIDs when
  domains get added.

- Merge services SSH and HTTPS giving us the ability to deals with many
  more services.  Remove special handling for different kinds of
  certificate sources.

- Supress monkeysphere prompts in case of reusing UIDs.
2016-03-08 23:32:29 +05:30
Sunil Mohan Adapa 28856d96a3 monkeysphere: Move more description to module 2016-03-08 23:32:20 +05:30
Sunil Mohan Adapa 7a7d957248 monkeysphere: Untabify, HTML message styling 2016-03-08 23:32:00 +05:30
James Valleroy 5c810ed87f monkeysphere: Add Let's Encrypt certificates
Filter letsencrypt domains from snakeoil list.
Rename views for snakeoil and letsencrypt.
2016-03-08 23:31:42 +05:30
James Valleroy cc6f44d87e monkeysphere: Clarify arguments for import actions 2016-03-08 23:30:27 +05:30
James Valleroy 79edbd6195 monkeysphere: Add self-signed certificate section 2016-03-08 23:29:41 +05:30
James Valleroy 8c96d381e6 monkeysphere: Add key detail view 2016-03-08 23:29:29 +05:30
James Valleroy 18db38002b monkeysphere: Consistently use the term OpenPGP
In user visible strings, instead of PGP or GPG.
2016-03-08 23:28:42 +05:30
James Valleroy b38859b0d3 Merge branch 'common-view' 2016-03-05 15:32:38 -05:00
Joel Valleroy 176f0320c3 Avahi should now display {box_name}. Fixes #414 2016-03-05 23:28:39 +05:30
Sunil Mohan Adapa f04e1c1657 Minor PEP8 & spelling fixes in various modules 2016-02-28 19:38:53 +05:30
Sunil Mohan Adapa 711892486e upgrades: Use common view for configuration 2016-02-28 19:38:48 +05:30
Sunil Mohan Adapa a0e676c51c ikiwiki: Use common view for configuration 2016-02-28 19:38:44 +05:30
Sunil Mohan Adapa d31de69d36 datetime: Use common view for configuration 2016-02-28 19:38:40 +05:30
Sunil Mohan Adapa 7385bebb89 transmission: Use common view for configuration 2016-02-28 19:38:36 +05:30
Sunil Mohan Adapa 73c7d8e89e avahi: Use common view for configuration 2016-02-28 19:38:31 +05:30
Sunil Mohan Adapa ab96bc7068 repro: Use common view for configuration 2016-02-28 19:38:26 +05:30
Sunil Mohan Adapa 6a462cecc8 privoxy: Use common view for configuration 2016-02-28 19:38:21 +05:30
Sunil Mohan Adapa 75d35b3d60 mumble: Use common view for configuration 2016-02-28 19:38:17 +05:30
Sunil Mohan Adapa 07df62854b restore: Use common view for configuration
- Rename the template from restore_index.html to restore.html to avoid
  having to create a custom view.
2016-02-28 19:38:11 +05:30
Sunil Mohan Adapa 1eae781e64 quassel: Use common view for configuration 2016-02-28 19:38:07 +05:30