Commit Graph
1527 Commits
Author SHA1 Message Date
Sunil Mohan Adapa 9646274e0b New locale file for Russian (ru) 2016-02-06 14:48:10 +05:30
Tong Hui 12b3abcd45 Translated using Weblate (Chinese (China))
Currently translated at 92.9% (529 of 569 strings)
2016-02-06 03:44:11 +01:00
Dietmar 0b1932765d Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2016-02-05 22:07:33 +01:00
ultrapeer 78588454aa Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2016-02-04 21:45:18 +01:00
Tong Hui e4c0e86c6a Translated using Weblate (Chinese (China))
Currently translated at 69.0% (393 of 569 strings)
2016-02-02 13:14:43 +01:00
Joel Valleroy a23a40dede Removed default password warning. Fixes #386. 2016-02-02 00:12:07 +00:00
Caly dd65cb7835 Translated using Weblate (Swedish)
Currently translated at 37.0% (211 of 569 strings)
2016-02-01 06:20:17 +01:00
Tong Hui ffbe1f0ce5 Translated using Weblate (Chinese (China))
Currently translated at 4.9% (28 of 569 strings)
2016-02-01 06:20:17 +01:00
Daniel Steglich a90039889d dynamicdns: Fix passing password via stdin
* Add an option to pass the password via cmdline (optional, not used by
  plinth) if called manually.

* Fix: If -p option was not the last given option, everything after -p
  was lost.  Closes #310.
2016-02-01 10:46:48 +05:30
Sunil Mohan Adapa 2197da54aa Merge remote-tracking branch 'weblate/master' 2016-01-31 22:51:48 +05:30
Caly a5584fb700 Translated using Weblate (Swedish)
Currently translated at 43.7% (246 of 562 strings)
2016-01-31 18:17:02 +01:00
Sunil Mohan Adapa 506d34f397 Merge remote-tracking branch 'weblate/master' 2016-01-31 22:46:20 +05:30
Caly aa71221ddd Translated using Weblate (Swedish)
Currently translated at 41.9% (236 of 562 strings)
2016-01-31 17:56:30 +01:00
Sunil Mohan Adapa bb7d912ed8 Update all translations with latest messages 2016-01-31 22:25:18 +05:30
Sunil Mohan Adapa 65a1985cc0 tor: Minor fixes and styling
- Add note about resetarting firewalld.

- Refactor checking for running configuration process.

- Fix error message being show as info message.

- Minor indentation fixes.
2016-01-30 19:41:13 +05:30
James Valleroy e401a5a028 tor: Get fresh status after config completes 2016-01-30 18:08:56 +05:30
James Valleroy 1e67fcb61a tor: After enabling hidden service, wait for info 2016-01-30 18:08:47 +05:30
James Valleroy 07130b6007 tor: Run configuration update as background task
- Closes: #294.
2016-01-30 18:08:40 +05:30
James Valleroy a22595af77 tor: Avoid unneeded service restarts
- Fix an import error.
2016-01-30 18:08:33 +05:30
James Valleroy 0844151244 tor: Combine all configuration actions 2016-01-30 18:07:42 +05:30
James Valleroy a3845e2b28 tor: Add service for bridge relay ports 2016-01-30 18:07:34 +05:30
James Valleroy 315c7f1e93 tor: Notify firewall about socks service status 2016-01-30 18:07:04 +05:30
James Valleroy 376b5c6feb tor: Refactor into separate files for forms/views 2016-01-30 18:06:33 +05:30
Sunil Mohan Adapa 506bff5c7b users: Multiple SSH keys and better home creation
- Allow setting multiple SSH keys one per line (which is already
  allowed, but advertise it better).

- Use mkhomedir_helper to create the user's home directory.  Avoid
  security and accuracy complexities of creating a home directory.

- Allow homes that don't exist in /home.
2016-01-30 15:30:52 +05:30
James Valleroy ad7d6db968 users: Add field to set user's SSH key. 2016-01-30 15:30:32 +05:30
Sunil Mohan Adapa 81b3f959fe Create locale zh_CN 2016-01-28 08:14:27 +05:30
Sunil Mohan Adapa 57fd2a2ea2 repro: Minor styling and message changes
- Indentation for HTML template consistent with other templates.

- Style 'repro' like the upstream project does in all small case.

- Better describe the functions of a SIP server and organize the actions
  to be done by the user.

- Set the menu weight so that it does not clash with an existing module.

- Name the application 'SIP Server' instead of 'SIP Proxy' as that
  better describes the capabilities of the repro and is simpler for
  users to understand.
2016-01-27 17:49:41 +05:30
Sunil Mohan Adapa 5805351f50 repro: Split firewall service as sip and sips
- Since SIP is a generic protocol implemented by various servers, the
  firewall service must describe the protocol instead of the
  application.  This is similar to the way firewalld handles
  http/https.  This also make the service descriptions more acceptable
  by upstream.

- Split unencrypted and encrypted services so that one can enabled
  without the other (a possibility with SIP).

- Add 5061/UDP for SIP over DTLS and DCCP.
2016-01-27 17:49:32 +05:30
James Valleroy b7e44eb429 Add repro SIP proxy module. 2016-01-27 17:49:20 +05:30
James Valleroy 863a187b23 Merge branch 'text-updates' 2016-01-25 19:07:36 -05:00
Caly 1260fbbbf8 Translated using Weblate (Swedish)
Currently translated at 40.2% (226 of 562 strings)
2016-01-25 15:45:13 +01:00
Sunil Mohan Adapa f7d3f7c88a Update POT file with message changes
- So that translations on the changed messages can begin.
2016-01-24 12:28:48 +05:30
Sunil Mohan Adapa d32bfa1dd6 Update fake translations 2016-01-24 12:27:06 +05:30
Caly 15312fe595 Update messages for simplicity/consistency/grammer
- Closes #375 and #380.

- More use of configurable brand name.
2016-01-24 12:14:25 +05:30
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