1273 Commits

Author SHA1 Message Date
fonfon
5591047df3 base template: added titles to the main menu 2015-10-28 19:52:14 -04:00
Sunil Mohan Adapa
c318ecd580 Update readme to links to wiki & manual
- Remove repeated links

- Flatten the headings

- Rewrap

- Add links to FreedomBox wiki and FreedomBox manual.
2015-10-23 13:22:58 +05:30
Rich Keyzor
4397c25550 fixes #263 2015-10-22 15:12:24 +01:00
Sunil Mohan Adapa
705084ef9d datetime: Fix triggering install callback 2015-10-17 21:41:54 -04:00
Sunil Mohan Adapa
2ef22ec1b4 Require library version for GObject introspection
Specify the version of a library before importing it using GObject
introspection.  Mainly to avoid warnings with recent version of
pygobject.  Closes #247.
2015-10-17 21:13:35 -04:00
Sunil Mohan Adapa
4ecc416f3a Remove references to removed TODO file (GH: #245) 2015-10-17 19:33:21 -04:00
fonfon
81e09a1280 networks: increased column size; added TODO 2015-10-14 12:54:21 +00:00
Sunil Mohan Adapa
7170d3db38 networks: Ability to enable/disable without JS
- Avoid using a drop down menu.

- Separate out the status indicator and activate/deactivate button.

- Closes #173.
2015-10-14 12:51:34 +00:00
fonfon
2ab99588ba Merge pull request #252 from SunilMohanAdapa/pagekite-speed
I tested the changes and confirm that everything works as before, only faster :)
2015-10-14 13:33:40 +02:00
Sunil Mohan Adapa
26e312b3f3 Require older version of coverage for Travis build
This patch installs coverage 3.7 instead of latest coverage 4.0 on
Travis before a build. Coverage 4.0 does not support Python 3.2.  Due to
need for system-installed, python-dependency packages and due to Travis
infrastructure using Ubuntu 12.04, we can only build on Python 3.2 in
Travis.
2015-10-13 20:23:46 +05:30
Sunil Mohan Adapa
5ccbd6f35c pagekite: Make Augeas loading narrower and faster 2015-10-12 22:26:14 +05:30
Sunil Mohan Adapa
670be77b9a pagekite: Fix issue with setting port
- When the current configuration does not contain a port and we try to
  set the port for the frontend server, it fails.  This patch fixes
  that.

- Minor styling and spelling fixes.

- Make sure that if port is not set for frontend, it will be set on
  saving the form.
2015-10-11 17:54:26 +05:30
fonfon
aad69deb6e Display correctly if service is PageKite is enabled 2015-10-11 17:19:35 +05:30
fonfon
96a272b3b0 Added explicit port setting to pagekite configuration 2015-10-11 17:19:35 +05:30
Sunil Mohan Adapa
fc19b0fd3d networks: Refactor code for showing connection
- Fix showing configured IP address in edit form.

- Combine the retrival functions and organize them according to where
  the information is being retrived from connection/device/active
  connection/access point.

- Add more fields to show such as ether speed, default ipv4/ipv6
  connection, wifi mode, etc.

- Re-format the page.  Separate ipv4/ipv6 sections. Separate device
  information and connection information sections.

- Take the action buttons to the top.

- Make the activate/deactivate button work with new POST only CSRF
  requirement.

- Update Firewall zone description messages.

- Show all IP addresses of the device.
2015-10-11 16:28:55 +05:30
Sunil Mohan Adapa
682e5d7c2d networks: Prefill proper Wi-Fi device in add form
Add access points found on a particular Wi-Fi device only to that device
as it is not gauranteed that other Wi-Fi devices will be able to find
them.  For example, an access point operating in 5 GHz frequency will
only be found and used by Wi-Fi devices capable for 5 GHz communication.
2015-10-11 16:28:55 +05:30
Daniel Steglich
408aa8910a wi-fi network connection: Fixed error message when entering the form
- When selecting an existing WiFi on the "scan" page, the user will be redirected to the "WiFi add" form.
  This form did not contain a WiFi capable Interface as default selection, for this reason the user get a
  invalid form message when entering the form.
2015-10-11 16:28:55 +05:30
Daniel Steglich
3c47dfb6ef Minor coding styleguide fix
- fixed a pep8 error (line too long)
2015-10-11 16:28:55 +05:30
Daniel Steglich
f49def2d39 Add network connection: Show current IP address when editing a connection
- Added some generic network helper functions to global network helper class
  to get some information from a device by it's name. This is used when editing
  a connection (no ip was shown before).

- ToDo:
  This is only a workaround because we want to get the information from the connection but not from the device
  which belongs to the connection. If multiple connections are setup on the same device, this workaround will not
  work anymore.
2015-10-11 16:28:55 +05:30
Daniel Steglich
c3e5753b52 Network Status pages: added status pages
- implemented network status page which supports:
 * show IP address and netmask
 * show MAC address
 * show device name
 * show firewall zone name
 * show DNS server information
 * show default gateway
 * show wifi information
 * shows if connection is shared or not and if connection is the default connection

- when clicking on a cennection on the overview page go to the status page, not to the
  editing page

- ToDo: if connection is disabled and re-enabled again, no information are visible anymore (Bug)
2015-10-11 16:28:55 +05:30
James Valleroy
2050a503c7 Release 0.6 v0.6 2015-10-07 18:07:36 -04:00
Sunil Mohan Adapa
94cdd19070 avahi: Minor fixes
- PEP8 fixes.

- Don't need to disable .socket and .service.  Disabling .service will
  take care of disabling both.

- Update the introduction message.

- Add prefix to form so that it can potentially be mixed with other
  forms.
2015-10-07 01:11:19 +05:30
Sean Alexandre
e6f7e6020f Adds Service Discovery module
Resolves issue https://github.com/freedombox/Plinth/issues/231
"Option to disable avahi-daemon"
2015-10-07 01:10:53 +05:30
James Valleroy
dda0f311b2 xmpp: Disable TLS on http-bind port (Closes: #239). 2015-10-04 18:57:40 -04:00
Sean Alexandre
1f183bf997 Changes Apache conf files to use new mod_authz_host syntax instead of Allow/Deny
Resolves Issue https://github.com/freedombox/Plinth/issues/171
"Update Apache auth config directives"
2015-09-29 19:28:50 -04:00
Sunil Mohan Adapa
45fd4f2a53 Cleanup casting from values in cfg 2015-09-29 22:50:02 +05:30
Sunil Mohan Adapa
b63ec9bffc Update the main config file too for danube_edition 2015-09-29 22:38:25 +05:30
fonfon
a94dc0f57d firstboot: remove deprecated CSS 2015-09-29 09:15:37 +05:30
fonfon
91b85f68ec pagekite: Remove redundent augeas dependency
- Plinth itself has depedency on augeas-tools and python3-augeas.
2015-09-29 09:14:25 +05:30
fonfon
3d87c3eb3b Data types for cfg.py; add danube_edition entry
- Explicitly state datatype in config_items to handle them more
  generically

- Handle boolean values correctly.  Before this fix we got the string
  'False' which evaluated to True (this affected the entry
  'use_x_forwarded_host').

- Add the config entry 'danube_edition'. Activating it shows a voucher
  input field for pagekite accounts on freedombox.me during the
  firstboot process. Other vouchers (i.e. for VPN services) might
  follow.  Add description and test for 'danube_edition' setting.
2015-09-29 09:11:18 +05:30
Sunil Mohan Adapa
4a9d877724 owncloud: Perform setup synchronously
Earlier, installation of the ownCloud package was performed as part of
setup process.  It took time and hence the action was done
asynchronously.  Now, however, package manager takes care of this.  To
avoid any potential race conditions with the user accessing ownCloud
before it is setup, perform the setup synchronously.
2015-09-27 23:02:46 +05:30
Sunil Mohan Adapa
0e111d833c Minor global variable naming fix
- For Python coding standards compliance
2015-09-27 23:02:46 +05:30
Sean Alexandre
d0bc2be3a3 owncloud: Adds on_install handler to enable after install.
Fixes https://github.com/freedombox/Plinth/issues/224
"Enable ownCloud after install"
2015-09-27 23:02:46 +05:30
Sean Alexandre
95e81b0906 Adds missing calls to service.notify_enabled() from on_install handlers.
Fixes https://github.com/freedombox/Plinth/issues/175
"Many services do not show as enabled in Firewall after install"
2015-09-27 21:39:33 +05:30
James Valleroy
a7735eeb80 fetch latest manual 2015-09-27 09:55:44 -04:00
Sunil Mohan Adapa
ac25f1f5be help: Update the about page 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
38fe07cd93 help: Serve FreedomBox manual
- Remove FAQ menu entry

- Remove Wiki entry and place a link from index page.

- Update index content to point to IRC, wiki, manual and mailing list.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
78fb03f9cc doc: Update HACKING file
- Add submission information

- Remove dependencies list. It does not add much value and it is
  difficult to maintain this list up-to-date whenever a new dependency
  gets added.

- Update information about building docs
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
42bc2a1ca6 doc: Update INSTALL with new dependency list 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
6742acd51e doc: Update README
- With more relavent information
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
6fe8c4213d doc: Re-write proper manual page 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
24a67991ee doc: Stop ignoring removed files 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
17a267513e doc: First revision of the FreedomBox Manual
- Fetched using the Makefile and processed using XSLTs.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
ef2d3a4787 doc: Fetch manual from the Wiki
- Already reorganised the manual page on the wiki for this purpose.

- Fix several issues with the Docbook export of MoinMoin.

  - Replace / in title with a space.

  - Remove revision history.

  - Convert image dimensions to points from pixels.

  - Fix incorrect wiki paths.

- Implement mechnism for downloading images and using them with
  relative paths.

- Remove the old way of compiling the manual.  Its contents are mostly
  not applicable for end users.  Design documents are outdated.  INSTALL
  and HACKING talk about Plinth installation not FreedomBox in general.
  A fresh man page will be written later.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
9d18759de5 doc: Remove non-existant doc files from LICENSES 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
eb89f9fa80 doc: Remove themes.mdwn
Its information is merged into the online Developer Manual which will be
imported here.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
b4443330fb doc: Remove modules.mdwn
Its information is merged into the online Developer Manual which will be
imported here.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
3ba786275e doc: Remove scripts.mdwn
Its information is merged into the online Developer Manual which will be
imported here.
2015-09-27 09:49:44 -04:00
Sunil Mohan Adapa
9bee07f1a4 doc: Remove colophon that is no applicable
We are going to introduce the Developer Manual that may contain this
section and is composed differently that what Colophon talks about.
2015-09-27 09:49:44 -04:00
Sunil Mohan Adapa
bb892e5ef9 doc: Remove FAQ page, it is fully outdated 2015-09-27 09:49:44 -04:00