1340 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
803f4ecc94 names: Update icon to not clash with applications 2015-11-28 17:44:43 -05:00
Sunil Mohan Adapa
e507fe163f Use icon for applications button intead of text
The concern that people are unable to find a way to get back to
applications is a correct one.  The recent changes does fix the problem.

However, it takes a step back in the design.  The 'Applications' text is
too prominent.  I propose that we replace it with the commonly used
icon.  Featured in mobile interfaces and on Google home page, users
should have no difficulty identifing it as applications icon.

After experimenting with the placement of the icon, it seems more
asthetically pleasing to have it at the place of 'Applications' text and
not at the center etc.
2015-11-28 17:44:43 -05:00
Philippe Baret
87571c1075 Updated Django FR Po File (local URL for wiki)
FreedomBox Transifex configuration has been edited to allow different URLs
2015-11-28 16:57:28 +01:00
Philippe Baret
8fc7ebcc95 Update Django FR Po file (proof read)
100% transalted, 100% proof read (1 time)
2015-11-27 14:50:19 +01:00
Philippe Baret
198f3453ae Update from Transifex (FR Django po file)
100% translated, need full proof read (360 strings to be done out of 500)
2015-11-27 12:15:47 +01:00
Sunil Mohan Adapa
a0da928dae power: Minor updates
- Change term 'reboot' to 'restart' as it is less techinical and more
  consistent with popular interaces on desktop/mobiles.

- Updated description for power module.

- Simplify the module title to just 'Power'.

- Update the use of elipses and angular quotes as angular quotes and
  elipses are both used to indicate that further user interface will be
  available after pressing the button.

- Remove suprious '\' in power_reboot.html.

- Notify to the user that web interface will not be available after
  reboot/shutdown.

- Redirect the user to application page after restart/shutdown.  If the
  page serve succeeds, they will have simply refresh/access it after
  restart/shutdown after waiting or powering on.
2015-11-27 11:40:09 +05:30
Joel Valleroy
a002ca300c Use POST for reboot/shutdown now 2015-11-26 17:05:34 -05:00
Joel Valleroy
eca36e6f96 add power module with reboot and shut down 2015-11-26 16:29:38 -05:00
Sunil Mohan Adapa
0220cff57c upgrades: Minor fixes
- Show error message based on return code rather than messages in
  stderr.

- Don't decorate the message paragraph with alert color, we are already
  doing that by showing a message at the top.

- Untabify.

- Improve message showing that upgrades are running, gramatically.

- Show errors messages decorated as errors.

- Minor cleanups.
2015-11-26 11:10:59 +05:30
Sunil Mohan Adapa
921f7c8767 upgrades: Make sure error output shows up 2015-11-26 11:05:26 +05:30
James Valleroy
24cd095c6e upgrades: Run as background task (Closes: #285). 2015-11-26 07:53:01 +05:30
Ruben Lubbes
e69189c99c Missing string added 2015-11-26 02:46:22 +01:00
fonfon
1dbc566515 names module, pagekite: moved updating names to utils 2015-11-25 15:22:27 +01:00
James Valleroy
d476326212 Internationalize names module. 2015-11-25 15:22:27 +01:00
James Valleroy
e0bfd1401f Name Services module 2015-11-25 15:22:27 +01:00
Sunil Mohan Adapa
5dfa2d0626 Minor fixes to NL translation 2015-11-25 19:03:38 +05:30
Ruben Lubbes
355bd450ce Added language NL translation 2015-11-25 12:42:07 +01:00
James Valleroy
af6ebff5ca minor styling fix 2015-11-22 11:20:29 -05:00
fonfon
027dd528db Fix KeyError on first run when no language is set 2015-11-22 10:34:58 +01:00
fonfon
aeaa6ab800 Adds a 'language' dropdown field to the system configuration
- The language choice is stored with the session, not persistently
- This removes confirmation messages if nothing was changed
2015-11-18 18:29:54 +01:00
Sunil Mohan Adapa
f8f7a979f2 restore: Fix minor styling issues
- Missing comment added and comment styling.

- Expanded the description.

- Change the title and menu item capitalization for consistency.
2015-11-17 10:15:45 +05:30
Sunil Mohan Adapa
cc181c79c3 Minor styling fixes for domain name validator 2015-11-16 22:00:25 +05:30
Joel Valleroy
e7fb549349 Updated domain name validation and unit tests 2015-11-16 22:00:25 +05:30
Sunil Mohan Adapa
0236bfa9a6 Don't depend on specific python versions in Travis 2015-11-16 09:55:57 +05:30
Sunil Mohan Adapa
9a2feae719 Remove unneeded python3-dbus dependency for Travis 2015-11-16 09:55:57 +05:30
Sunil Mohan Adapa
b6a40a78f4 Install pgi only for Travis 2015-11-16 09:55:57 +05:30
Sunil Mohan Adapa
cc858bbd6a Use pgi only when gi is not available
- Write a convenience utility to handle the import process.
2015-11-16 09:55:20 +05:30
Nik Nyby
608897b9ec Test on python 3.3 and 3.4 with travis
Python 3.2.x is deprecated, so I thought it would be
good to get tests running on some newer pythons. I've
switched from the python3-gi package to using 'pgi' from
pypi, because the apt-installed python3-gi was having trouble
importing.

pgi required python 3.3+ (see: https://pypi.python.org/pypi/pgi),
so I've removed python 3.2 from the test matrix. Let me know if
we're using python 3.2 anywhere, but as far as I know plinth is
run on python 3.4.3 with debian sid on the freedombox image.
2015-11-16 08:44:01 +05:30
Sunil Mohan Adapa
c985fdae56 Update config form for hostnames and domainnames
- Make minimum length 1 for the fields.

- Write tests.

- Update description to reflect the new conditions.
2015-11-15 10:59:27 +05:30
Joel Valleroy
45fff7057b Allow hyphens in hostname and domainname. Fixes #275. 2015-11-14 17:23:06 -05:00
Sunil Mohan Adapa
86d3d714fc Move missed out nb locale file too 2015-11-14 13:04:42 +05:30
Sunil Mohan Adapa
0b4f56c59d Fix bug in i18n of change password link 2015-11-14 12:05:27 +05:30
Sunil Mohan Adapa
de70396261 Update translations for i18n fixes 2015-11-14 11:43:18 +05:30
Sunil Mohan Adapa
01d50c7ae8 Fix i18n of template expressions 2015-11-14 11:42:32 +05:30
Sunil Mohan Adapa
b84534eaec Create a fake locale translation for testing
To test whether internationalization is done properly, rename this folder
a known non-existing locale.  Set browser to contain that locale and
visit Plinth.  Every string that is i18ned properly will show up in
capitals.  Other strings will show as regular string.
2015-11-13 22:44:46 +05:30
Sunil Mohan Adapa
6483732fa2 Ignore the compiled message files 2015-11-13 22:44:00 +05:30
Sunil Mohan Adapa
8c91d9101b Move .po file to correct location
Django picks up locale files from project directory and application
directories.  Move the locales into project directory.

Also update the po files using 'django-admin makemessages'.
2015-11-13 22:42:04 +05:30
Sunil Mohan Adapa
3df1a88824 Switch to Django i18n for code strings
Django i18n layer is on top of gettext and provide may crucial features
such as per-request locales, lazy translations etc.
2015-11-13 22:08:43 +05:30
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