1302 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
02cd89b60d Internationalize strings in template files 2015-11-13 22:02:17 +05:30
Sunil Mohan Adapa
139db064a9 Enable localized numbers and dates 2015-11-13 21:18:37 +05:30
Sunil Mohan Adapa
6c3c863619 Enable switching locale on a per-request basis 2015-11-13 21:18:04 +05:30
Petter Reinholdtsen
86c787feeb Add more nb translations. 2015-11-09 10:08:00 +01:00
Petter Reinholdtsen
8ae7d830ee Start on Norwegian Bokmål translation. 2015-11-08 19:38:40 +01:00
Philippe Baret
36a146b68a Small unique correcion django.po (fr) 2015-11-08 16:09:56 +05:30
Philippe Baret
29b8382c7a Update django.po (self corrections)
next = corrections from debian french translator list
2015-11-08 16:09:56 +05:30
Philippe Baret
a2f82b9437 100% translated
done after 6 hours (with multitasking), no corrections done yet
2015-11-08 16:09:56 +05:30
Philippe Baret
88ba8e34b4 Translation 60% FR local file Django
Done in 3 hours, auto corrections + Debian french translators mailing list corrections to be done
2015-11-08 16:09:56 +05:30
James Valleroy
903a11824e Merge pull request #265 from fonfon/restore
Added reStore module/application
2015-11-04 08:00:55 -05:00
James Valleroy
24418e2469 openvpn: minor fixes 2015-11-04 07:05:27 -05:00
Sunil Mohan Adapa
646763ff3c openvpn: New module VPN into FreedomBox
- Authentication using client certificates.  Extra password based
  authentication for later.

- Auto setup of CA, server and client certificates.

- Provides a .ovpn profile for each user for easy setup.

- Use 4096 bit Diffie-Hellman parameters for better security.  If this
  takes to much time, reduce it to 2048 or 1024, at least during
  debugging.
2015-11-03 20:24:40 -05:00
Sunil Mohan Adapa
52bfb475e8 Return the process for async actions
So that the caller can manage and later look for return status.
2015-11-03 20:24:40 -05:00
Nick Daly
bcb26cc52c Added de, es, fr, it, pt langs. 2015-10-31 15:34:39 -05:00
Sunil Mohan Adapa
20d4d32153 firstboot: Show network diagram at the end
- Fix an issue with not showing message in state 1 (no messages to show
  as of now).

- Provide options to go to Applications or Network configuration page as
  discussed in first boot redesign.
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
11bf585025 networks: Show network diagram
- As discussed in the first boot redesign proposal.

- Images are taken from Tango icon set, GNOME icons or created.

- Responsive, works for very small widths also.

- First cut, special cases of network connectivity are not handled.
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
96b98fae9f networks: Handle unavailability of device 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
8228440319 first_boot: Allow accessing help during first boot 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
8fb6e31e9a first_boot: Remove login from account creation 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
26737293e4 first_boot: Reduce the width of administrator form 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
5cd1b7e4b3 first_boot: Remove sidebar in favor of help icon 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
f3a0c70d23 first_boot: Add separate greeting page 2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
23eb40fce8 first_boot: Require password confirmation
- Use existing UserCreationForm from auth module.

- Use cleaned data for login.
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
62185a5960 first_boot: Don't ask for a new hostname
- Setting a new hostname is not one of the most buring issues to be take
  care of during the setup process.

- Also, most likely the user will access the FreedomBox machine using
  mDNS hostname such as freedombox.local.  Changing the hostname mid
  setup might have consequences that need to thought about properly.
2015-10-28 20:02:56 -04:00
fonfon
125cb88336 Removed cfg.product_name entry and tests
The name 'Plinth' (cfg.product_name) is not used anymore after my previous
commits.
Reason for the complete removal: I do not think that users should know or have
to care about the internal name of the web interface of the FreedomBox.
2015-10-28 19:52:14 -04:00
fonfon
c2bd038ef2 changed description texts in the main landing pages 2015-10-28 19:52:14 -04:00
fonfon
b934668dc5 renamed menu entry 'FreedomBox' to 'Applications' 2015-10-28 19:52:14 -04:00
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
fonfon
fb7841938a reStore: added (empty) tests 2015-10-21 13:15:20 +00:00
fonfon
be325f8879 added reStore module 2015-10-21 11:54:34 +00: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