1493 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
572e68dc36
Make remaining uses of brand name customizable 2016-01-24 00:50:14 +05:30
Sunil Mohan Adapa
4602c5bfce
Use translated brand name in templates
Using brand name directly from configuration means that it can't be
easily translated.  Instead use the translated brand name sent in my the
context processor.
2016-01-24 00:37:01 +05:30
Sunil Mohan Adapa
8ccffcf02c
Add utility method to lazy format lazy string
This method is useful to format strings that are lazy (such as those in
Forms).
2016-01-24 00:22:59 +05:30
Sunil Mohan Adapa
a48068f775
Ability to localize brand name in templates
- Take the value from the configuration and run it throught the Django
  translate method and make it available in Context.

- Use a no-op translate method to translate the text 'FreedomBox'.
2016-01-24 00:22:26 +05:30
Caly
cda3863d1b Translated using Weblate (Swedish)
Currently translated at 40.0% (225 of 562 strings)
2016-01-21 03:55:56 +01:00
Sunil Mohan Adapa
afb00f98ab
upgrades: Make manual upgrade a background process
- Closes #366 and closes #304 (all sub-tasks).

- Start new process group with setsid() by sending
  start_new_session=True

- Detach from parent process fds by closing all FDs and attaching stdin,
  stdou and stderr to /dev/null.

- Don't wait for the process to complete.

- This allows for upgrading Plinth while upgrades are trigged from
  Plinth itself.

- Show log of upgrade exection instead of output and error log of the
  process which can no longer be collected.  This has the advantage of
  showing automatic executions also.

- Rewrite the mechanism to detect whether upgrades can be run.  It is
  now based on whether the package manager is busy.  This has the
  advantage of working properly if other apt processes are running,
  automatic upgrades are running, etc.

- Busy status works even if Plinth is restarted while upgrades are in
  progress.

- More descriptive messages showing that upgrades don't have to be
  triggered manually.

- Warn that other packages can't be installed while upgrades are
  running, which may take a long time.

- Warn the users of potential temporary unavailability of
  Plinth/Apache2.
2016-01-20 21:13:18 -05:00
Caly
b548881232 Translated using Weblate (Turkish)
Currently translated at 100.0% (552 of 552 strings)
2016-01-16 10:05:13 +01:00
Caly
13f8407b81 Translated using Weblate (Telugu)
Currently translated at 42.0% (226 of 537 strings)
2016-01-16 10:05:13 +01:00
Caly
fd43cef168 Translated using Weblate (Swedish)
Currently translated at 18.5% (104 of 562 strings)
2016-01-16 10:05:13 +01:00
Caly
e58a661072 Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2016-01-16 10:05:13 +01:00
Sunil Mohan Adapa
7a06802d5d
Translated using Transifex (Norwegian Bokmål) 2016-01-16 14:33:19 +05:30
Caly
d3f104c7d9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (537 of 537 strings)
2016-01-16 02:12:08 +01:00
Sunil Mohan Adapa
a5642972ac
New locale file for Swedish (sv) 2016-01-15 19:44:31 +05:30
caitlin
429d26d961
letsencrypt: Don't fail if live dir does not exist 2016-01-14 14:18:53 +05:30
Sunil Mohan Adapa
1a17819380
letsencrypt: New basic module for SSL certficates
This is the first implementation for obtaining certificates from Let's
Encrypt.  Following the features and limitations.

- Requires manual operation.

- Registrations are done anonymously.

- Supports revoking and re-obtaining certificates.  Does not have a way
  to show if a certficate is already renewed.

- Automatic renewal is not available.

- Details messages in case of errors.

- Has ability to switch to testing mode by using LE's staging servers.

- Sets up Apache configuration for the domain and enables/disables it.
  When certificates are not available for a domain, default website
  configuration is used.  When certificates are available, separate
  SSL website configuration for each domain is used.

- Many domain will work with a single IP address with the help of Server
  Name Indication (SNI) which is supported by all modern browsers.

- Supports diagnostics on websites.
2016-01-14 14:18:43 +05:30
Sunil Mohan Adapa
6afe350fe5
monkeysphere: Proper domain handling
Action:

- Don't use const for HOST_TOOL, it is unlikely to be ever changed.

- Don't pass multiple key ids as single string to monkeysphere-host.

- Use JSON for data transfer with action instead of custom format and
  parsing.

- Minor styling fixes.

Template:

- More consistent indentation.

- Improve the description.

- Add headers to the table.

- List domains instead of domain types.

URLs:

- Take domain as argument for key generation.

- Narrow down fingerprint matching regex.

Views:

- Take domain as argument for key generation.  Verify that domain is
  valid.

- Minor grammer fix to cancel message.

- Use JSON format for getting key status.

- List domains instead of domain types.
2016-01-14 14:00:23 +05:30
James Valleroy
70d85cbd6f
monkeysphere: New module for verifying SSH servers
monkeysphere: Run publish as background task, allow user to cancel.

Small fixes to names module:

- Remove unused ugettext import.

- Change SERVICES to tuple.

- If a domain is not available for a service type, return None instead
  of (translated) "Not Available".

- Rename get_services -> get_enabled_services.
2016-01-14 14:00:08 +05:30
ultrapeer
447f067734 Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2016-01-13 21:44:27 +01:00
ultrapeer
cb7e85a49d Translated using Weblate (Turkish)
Currently translated at 100.0% (552 of 552 strings)
2016-01-12 21:45:23 +01:00
Philippe Baret
57bb1db90d Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2016-01-09 19:37:51 +01:00
ultrapeer
1a4a83f0e4 Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2016-01-09 19:37:35 +01:00
ultrapeer
fec49613ca Translated using Weblate (Turkish)
Currently translated at 100.0% (552 of 552 strings)
2016-01-08 16:25:03 +01:00
ultrapeer
76fb4dd6de Translated using Weblate (Turkish)
Currently translated at 0.0% (0 of 552 strings)
2016-01-08 15:58:49 +01:00
cat-git
2f9b419f4f
networks: Fix grammer in two sentences
Minor changes to English grammar to make user messages more
readable/translatable.
2016-01-08 15:04:13 +05:30
cat-git
d06a88ced2
help: Add link to irc webchat (Closes: #292) 2016-01-08 14:52:09 +05:30
Sunil Mohan Adapa
db7ed51e53
networks: Minor update to primary connection fix
To make sure 'primary' key is always available in status.
2016-01-08 14:30:14 +05:30
Daniel Steglich
8e4abf282f
networks: fix for primary connection Closes: #334
Check if there is any primary connection available before accessing this
connections parameter.  Otherwise Plinth will raise an exception because
of non existing object.
2016-01-08 14:29:35 +05:30
Sunil Mohan Adapa
5af50fcbe3
New locale for Turkish (tr)
- As requested on Weblate
2016-01-08 13:45:59 +05:30
Daniel Steglich
de2d2323d4 Merge pull request 338 from SunilMohanAdapa:
Refactoring of networks module.
2016-01-01 22:00:28 +00:00
Sunil Mohan Adapa
96f9fee96b
firstboot: Fix double nested navbar 2015-12-30 01:10:45 +05:30
Sunil Mohan Adapa
0464ac83d8
firstboot: Add doc strings for custom tags 2015-12-30 01:10:09 +05:30
Sunil Mohan Adapa
75896d4d1f
box_name instead of FreedomBox in base template 2015-12-30 01:09:55 +05:30
fonfon
56e1b4ae57
firstboot: removed link to 'Applications'
minor bugfix - the icon wasn't displayed but the link and hover effect
were still there.
2015-12-30 01:09:13 +05:30
fonfon
0f742d704b
firstboot: Dont show normal mainmenu in help pages
- plus some minor adaptions like titles and using cfg.box_name
2015-12-30 01:08:43 +05:30
fonfon
a25f73005c Merge pull request #352 from SunilMohanAdapa/first-boot-improvements
Tested it, thanks for the additions;
2015-12-25 11:01:09 +01:00
James Valleroy
5fe7be8965 Release 0.7.2 v0.7.2 2015-12-23 06:34:40 -05:00
Sunil Mohan Adapa
efac9cb59e transmission: Disable rpc whitelists on install 2015-12-23 06:16:22 -05:00
Ingrid Yrvin
437ca5154d
Translated using Transifex (Norwegian Bokmål) 2015-12-23 11:57:39 +05:30
Mikkel Kirkgaard Nielsen
b791896a3e Translated using Weblate (Danish)
Currently translated at 100.0% (537 of 537 strings)
2015-12-23 05:41:06 +01:00
Sunil Mohan Adapa
0280d22c12 networks: Update tests for setting manual address 2015-12-23 10:09:49 +05:30
James Valleroy
1927eac06c Update network tests to work with added parameters. 2015-12-22 16:21:45 -05:00
fonfon
74f64123b3 first-boot: state10: change text and layout
Instead of the buttons there is now only one link in the text for the
network setup.
2015-12-22 10:46:56 +05:30
fonfon
77e74746f0 first-boot: state1: fix focusing on form element 2015-12-22 10:38:30 +05:30
fonfon
23aee97ea9 first-boot: state0: update text and button 2015-12-22 10:38:26 +05:30
fonfon
6ee545023d first-boot: use a common navbar
- Also hide the applications icon in the second step while keeping the
  logo.
2015-12-22 10:05:37 +05:30
Philippe Baret
815c6e2ea6 Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2015-12-20 18:15:52 +01:00
Thomas Vincent
9288b9b883 Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)
2015-12-20 17:47:48 +01:00
Dietmar
a79dfafe4e Translated using Weblate (German)
Currently translated at 100.0% (537 of 537 strings)
2015-12-20 17:46:05 +01:00
ikmaak
be7ea62d40 Translated using Weblate (German)
Currently translated at 99.6% (535 of 537 strings)
2015-12-20 17:44:24 +01:00
Mikkel Kirkgaard Nielsen
924f87a305 Translated using Weblate (Danish)
Currently translated at 100.0% (537 of 537 strings)
2015-12-20 14:20:38 +01:00