Commit Graph
2196 Commits
Author SHA1 Message Date
lispyclouds 3b23f78bdc Implement middleware for admin views
- Add AdminMiddleware to deny non admin users
- Add decorator to mark views as "non admin"
2017-02-15 20:57:52 +05:30
Sripath Roy Koganti c8fb2c35c4 Translated using Weblate (Telugu)
Currently translated at 65.9% (453 of 687 strings)
2017-02-15 15:46:23 +01:00
Sripath Roy Koganti 0e9c86f52c Translated using Weblate (Telugu)
Currently translated at 65.7% (452 of 687 strings)
2017-02-06 18:46:40 +01:00
Sunil Mohan Adapa 7f948d1111 tor: Simplify upstream bridges action code
- There is no need for separate subcommand as arguments can be passed in
  even when they have special characters such as \n in them.

- Enable obfs3 and scramblesuit transports also.  Since it is easy to
  support them and bridges site still provides them.  scramblesuit is
  also a nice alternative to obfs4.

- Minor refactoring/fixes.
2017-01-29 11:21:03 +05:30
Sunil Mohan Adapa e3d0c7ba80 tor: Update upstream bridges javascript actions
- Always show relay and bridge relay options.  This is show to the users
  that the options are available but not enabled because of somethings
  else.  Otherwise, users may not be able to discover these important
  options.

- Simplify animation for upstream bridges text box.
2017-01-29 11:20:46 +05:30
Sunil Mohan Adapa 31cad0bf40 tor: Better validation for upstream bridges
- Convert line terminators in the form field so that it matches the
  current status information resulting in proper detection of change in
  value.

- Allow IPv6 addresses properly.  Allow "[ipv6]:port" format.

- Make specifying port optional.

- Allow spaces at the beginning and ending of the line to compensate for
  copy/paste errors.

- Allow empty lines between bridge specifications.

- Allow multiple spaces between the components.

- Raise error if upstream bridges are not provided when 'use upstream
  bridges' option is enabled.

- Write tests for upstream bridges validator.
2017-01-29 11:20:34 +05:30
Sunil Mohan Adapa c311175797 tor: Update description for bridge options
- Mention that this option is for preventing censorship.

- Simplify description of upstream bridges.

- Give hyperlink to bridges.torproject.org.

- Make it slightly more clear that users can copy paste information from
  bridges page.

- Update list of supported transports.
2017-01-29 11:20:22 +05:30
James Valleroy 4162c2df86 tor: Catch one more possible error with bridge entries 2017-01-29 11:20:03 +05:30
James Valleroy f52f3f70d2 tor: Fix async config and message regressions 2017-01-29 11:19:47 +05:30
James Valleroy 31f95cfb12 tor: Support obfs4 for upstream bridges
Refactor augeas lens for readability.
2017-01-29 11:19:34 +05:30
James Valleroy 4eaff44b49 tor: Hide relay options when upstream bridges are used
Move upstream bridge options above relay options.
2017-01-29 11:19:20 +05:30
James Valleroy 5483d30151 tor: Don't allow relay to be enabled while using upstream bridges 2017-01-29 11:19:01 +05:30
James Valleroy 165e880329 tor: Move restart logic into plinth module 2017-01-29 11:18:42 +05:30
James Valleroy 6430ebbc71 tor: Re-use loaded augeas 2017-01-29 11:18:31 +05:30
James Valleroy 5552853ee3 tor: Validate bridge entries 2017-01-29 11:18:08 +05:30
James Valleroy 09b58a8b99 tor: Add option to use upstream bridges 2017-01-29 11:17:41 +05:30
James Valleroy 413256569d Style changes
Update changelog.
2017-01-26 12:33:32 -05:00
Marko Mackic f6d8a8a4d8 Add shaarli icon to LICENCES 2017-01-26 12:33:29 -05:00
Marko Mackic 6f455d6afc Remove dir_util copy_tree 2017-01-26 12:33:26 -05:00
Marko Mackic bb6e164d2a Add line brake to infinoted title 2017-01-26 12:33:23 -05:00
Marko Mackic 8ba763bf5a Folders overwrite, shaarli.png added to static files 2017-01-26 12:33:04 -05:00
Алексей Докучаев db636ea23c Translated using Weblate (Russian)
Currently translated at 99.8% (686 of 687 strings)
2017-01-25 12:46:07 +01:00
James Valleroy 7679ba277a Release v0.13.1 v0.13.1 2017-01-22 14:45:02 -05:00
James Valleroy 34b691cb7c Fetch latest manual from wiki 2017-01-22 14:22:11 -05:00
Luis A. Arizmendi ffe9799089 Translated using Weblate (Spanish)
Currently translated at 100.0% (687 of 687 strings)
2017-01-22 14:45:15 +01:00
Petter Reinholdtsen 4c0d6fc6ec Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (687 of 687 strings)
2017-01-22 14:45:15 +01:00
pitchum 464b7fa017 Translated using Weblate (French)
Currently translated at 100.0% (687 of 687 strings)
2017-01-22 14:45:15 +01:00
Sunil Mohan Adapa 287cb9798e New locale for Japanese (ja) 2017-01-22 19:13:52 +05:30
pitchum 25b3b3cd70 Translated using Weblate (French)
Currently translated at 100.0% (687 of 687 strings)
2017-01-22 13:47:21 +01:00
znoteer 9a75c88a65 Translated using Weblate (French)
Currently translated at 93.7% (644 of 687 strings)
2017-01-22 12:48:20 +01:00
Allan Nordhøy 54e8985ce7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (687 of 687 strings)
2017-01-22 08:40:09 +01:00
Dietmar d6521dbedb Translated using Weblate (French)
Currently translated at 93.7% (644 of 687 strings)
2017-01-22 01:25:03 +01:00
Luis A. Arizmendi 730ac7ab58 Translated using Weblate (Spanish)
Currently translated at 100.0% (687 of 687 strings)
2017-01-21 23:29:28 +01:00
Petter Reinholdtsen bc1010c019 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.7% (685 of 687 strings)
2017-01-21 21:52:00 +01:00
Manchala Lakshmi 77778a379c Translated using Weblate (Telugu)
Currently translated at 65.7% (452 of 687 strings)
2017-01-20 23:55:08 +01:00
ikmaak 8dce12766b Translated using Weblate (German)
Currently translated at 100.0% (687 of 687 strings)
2017-01-20 23:55:08 +01:00
James Valleroy 239bdd219f Update changelog 2017-01-20 17:48:59 -05:00
Sunil Mohan Adapa e5eaf67fa0 ikiwiki: Fix showing icon for newly created wiki/blog
The add shortcut API was changed but the call where we add shortcuts
after creating wiki/blog was not updated.

Closes #719.
2017-01-20 17:46:37 -05:00
Dietmar 5549a1a7f2 Translated using Weblate (German)
Currently translated at 100.0% (687 of 687 strings)
2017-01-20 18:46:28 +01:00
Petter Reinholdtsen 575a787ae0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (675 of 687 strings)
2017-01-20 12:22:18 +01:00
Marko Mackic 954f603ec3 Update jsxc_launch.html
All static links changed.

Referencing #718
2017-01-20 16:51:55 +05:30
James Valleroy d639990894 setup.py: Install all first-run scripts for freedombox-setup 2017-01-20 16:51:48 +05:30
Manchala Lakshmi d924b742d9 Translated using Weblate (Telugu)
Currently translated at 63.0% (433 of 687 strings)
2017-01-20 11:25:34 +01:00
Petter Reinholdtsen a4aa47dc3f Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.9% (659 of 687 strings)
2017-01-20 11:25:34 +01:00
Marko Mackic f675206e4d jsxc: Update jslicense.html
Updated links
2017-01-20 15:54:59 +05:30
Dietmar 1f890f77bb Translated using Weblate (German)
Currently translated at 99.2% (682 of 687 strings)
2017-01-20 00:49:09 +01:00
James Valleroy c0d1f22196 Update changelog 2017-01-19 18:48:32 -05:00
Sunil Mohan Adapa b7a974e326 setup: Fix an infinite redirect in a rare case
Don't try to show setup view for login page.  This happens under a rare
circumstance that user does not usually face.  If 'users' module has not
been setup but we try to run first boot and last part of the firstboot
process is not yet completed and when user is not already logged in, an
infinite redirect happens.

Simply don't try to show setup view for login URL under any
circumstance.  This is similar to how firstboot middleware itself does
not meddle with login URL.
2017-01-19 18:46:06 -05:00
Robert Martinez e8ff9b4501 Translated using Weblate (German)
Currently translated at 98.5% (677 of 687 strings)
2017-01-19 20:23:03 +01:00
ikmaak e382fd57f3 Translated using Weblate (Dutch)
Currently translated at 100.0% (687 of 687 strings)
2017-01-19 09:25:39 +01:00