1896 Commits

Author SHA1 Message Date
James Valleroy
dace07cdcb
xmpp: Don't disable starttls
Fix error introduced in edecd74ccf6cc98ec0962165e20f24ba0201ee91.
2016-09-02 20:27:12 +05:30
Sunil Mohan Adapa
3fe6ea6014
frontpage: Cleanup urls for showing description
In a module, when URL is not avialable for a shortcut, send None instead
of an implementation specific detail on how to show description.  This
allows use to change the implementation of how description is shown
without changes to modules.
2016-09-02 20:06:53 +05:30
Sunil Mohan Adapa
7d2f9549a0
frontpage: Fix regression in showing description
- After the shortcuts were turned into a list instead of dictionary, the
  descriptions stopped showing in the front page due to an 'in' check
  that worked for dict.  Fix this by changing the shortcuts into a
  dictionary.

- Also make the key of the shortcut dict an 'id' instead of 'app' that
  could create confusion how an app maps to a shortcut.

- Minor indentation fixes.
2016-09-02 20:06:41 +05:30
Sunil Mohan Adapa
3763e28d15
ikiwiki: Make sure shortcuts show up after setup
If the wikis and blogs are already setup and ikiwiki is uninstalled for
some reason, then setting it up should show the existing wikis and
blogs.
2016-09-02 20:06:28 +05:30
Sunil Mohan Adapa
a319f78a92
frontpage: Don't show apps link when not logged in
Now, that we have link to the front page, that is the ideal page for
anonymous user to go.  Don't show the apps page link when user is not
logged in.
2016-09-02 20:06:19 +05:30
James Valleroy
f226b823a2
frontpage: Change shortcuts to list to simplify 2016-09-02 20:05:56 +05:30
James Valleroy
0d350638d0
frontpage: Mention Debian in sidebar text 2016-09-02 20:05:47 +05:30
James Valleroy
0fc1eaa1cd
frontpage: Separate shortcuts for XMPP server and client 2016-09-02 20:05:32 +05:30
James Valleroy
49eadd971a
Add information about enabled services to front page 2016-09-02 20:03:39 +05:30
James Valleroy
fa0bc7471f
frontpage: Add shortcut for each ikiwiki wiki and blog 2016-09-02 20:03:32 +05:30
James Valleroy
3eb7dd914a
Add basic front page with shortcuts to web apps 2016-09-02 20:03:24 +05:30
Sunil Mohan Adapa
b69720e0d4
Exit with error if any of the setup steps fail 2016-08-31 16:59:12 -04:00
Izharul Haq
8bf797d17c Translated using Weblate (Indonesian)
Currently translated at 34.3% (219 of 637 strings)
2016-08-30 21:45:00 +02:00
Petter Reinholdtsen
e54c74fd2a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (637 of 637 strings)
2016-08-29 21:17:41 +02:00
Izharul Haq
f0fc897ca8 Translated using Weblate (Indonesian)
Currently translated at 0.0% (0 of 637 strings)
2016-08-28 21:36:30 +02:00
Sunil Mohan Adapa
d2800ab6ce
xmpp: Fix hacky quoted strings in ejabberd config
- Use a parser generated data type exposed by ruamel.yaml library to get
  the necessary double-quoted strings that we want in the output file.

- Simplify reading and writing to a YAML file.

- Fix incorrect dependency of ruamel.yaml Debian package.  The correct
  one is python3-ruamel.yaml.
2016-08-28 15:07:00 +05:30
James Valleroy
edecd74ccf
xmpp: Use ruamel.yaml to modify ejabberd config 2016-08-28 09:24:03 +05:30
Sunil Mohan Adapa
d9197111d8
users: Flush nscd cache after user operations
nscd monitors files in /etc and invalidates the cache automatically when
they change.  However, for other mechanisms it recommends issuing a
manual flush in its manual page.  Flush nscd passwd and group database
caches after all user operations (not just rename operation, just to be
sure).
2016-08-27 18:02:46 -04:00
John Doe
0e4a722147 Translated using Weblate (French)
Currently translated at 100.0% (637 of 637 strings)
2016-08-27 20:11:23 +02:00
James Valleroy
bf69504db9
Update changelog 2016-08-26 22:01:11 -04:00
Sunil Mohan Adapa
56ab6ddd3e
datetime: Fix spelling (Dietmar) 2016-08-26 21:52:07 -04:00
Sunil Mohan Adapa
7025cf099e
letsencrypt: Fix spelling (Dietmar) 2016-08-26 21:52:01 -04:00
Sunil Mohan Adapa
037944e5fc
help: Minor updates and fixes to status log
- Refactor reading status log file.

- Fix hardcoded URL path into 500.html.

- Rename 'status logs' to 'status log' for consistency.

- Decorate the personal information warning.  Avoid <b>.

- Add heading to status log page.

- Indentation and grammer fixes.
2016-08-26 21:51:58 -04:00
Sunil Mohan Adapa
ddc7e07ea1
Use shutil instead of distuils for which()
It is unusual to use distuils outside of setup scripts.
2016-08-26 21:51:55 -04:00
Sunil Mohan Adapa
31c6f866e2
Use loading icon for other busy operations 2016-08-26 21:51:51 -04:00
Sunil Mohan Adapa
164948c75e
tor: Refactor showing loader icon
- So that it can be used for other applications also.

- Also remove second status icon in green and use the status loading in
  it's place.  This is more consistent placement of status icon.

- Also reduce the size of the icon as it is not indication for page
  loading (page loading icons are large because they substitute page
  content until it is loaded).  This makes it consistent with other
  status icon.
2016-08-26 21:51:44 -04:00
John Doe
2aa0646dae Translated using Weblate (French)
Currently translated at 99.6% (635 of 637 strings)
2016-08-26 21:44:41 +02:00
ikmaak
d09a60b365 Translated using Weblate (Dutch)
Currently translated at 98.4% (627 of 637 strings)
2016-08-26 18:44:25 +02:00
John Doe
817d8945a8 Translated using Weblate (Turkish)
Currently translated at 100.0% (637 of 637 strings)
2016-08-24 21:25:39 +02:00
Dietmar
6c2319e51f Translated using Weblate (German)
Currently translated at 97.9% (624 of 637 strings)
2016-08-23 18:08:33 +02:00
Sunil Mohan Adapa
5f94d6489f
users: Update the SSH set key error message
In a following pull request, we are expected to solve the cache timing
issue.  So, show a generic error message instead of one that suggests a
timing problem.
2016-08-23 21:37:51 +05:30
James Valleroy
d2950d9c5f
users: Display error message if unable to set SSH keys 2016-08-23 21:37:41 +05:30
Алексей Докучаев
b8f3502a6f Translated using Weblate (Russian)
Currently translated at 100.0% (637 of 637 strings)
2016-08-23 09:22:44 +02:00
Luis A. Arizmendi
f90aa8cabb Translated using Weblate (Spanish)
Currently translated at 100.0% (637 of 637 strings)
2016-08-22 12:46:04 +02:00
Luis A. Arizmendi
8ed20aed4a Translated using Weblate (Spanish)
Currently translated at 100.0% (637 of 637 strings)
2016-08-20 11:06:49 +02:00
Sunil Mohan Adapa
49e6d940be
Merge remote-tracking branch 'weblate/master' 2016-08-20 09:59:59 +05:30
John Doe
ddc7c9c118 Translated using Weblate (French)
Currently translated at 99.6% (634 of 636 strings)
2016-08-20 06:20:54 +02:00
Sunil Mohan Adapa
f52fa3cb4f
Update translations to fix weblate errors 2016-08-20 09:46:56 +05:30
Sunil Mohan Adapa
130b5273e4
letsencrypt: Replace a Unicode char with ASCII
Although there is nothing wrong with the generated POT file and the
encoding is properly set to UTF-8, Weblate failed with following error:

We have not been able to update the source file for the resource
django.pot of the project FreedomBox UI.

The URL we used to update the source file from was
https://raw.githubusercontent.com/freedombox/Plinth/master/plinth/locale/django.pot.

The exact error we encountered was:

'ascii' codec can't encode character u'\u2019' in position 31271:
ordinal not in range(128)
2016-08-20 09:40:30 +05:30
Luis A. Arizmendi
64499a31b8 Translated using Weblate (Spanish)
Currently translated at 100.0% (636 of 636 strings)
2016-08-19 14:39:34 +02:00
John Doe
b134a1c2f8 Translated using Weblate (Turkish)
Currently translated at 100.0% (636 of 636 strings)
2016-08-18 21:16:59 +02:00
Sunil Mohan Adapa
7b68dd55f2
upgrades: Run status operations as non-root
Current check whether the package manager is busy and getting the
unattended upgrades log requires root.  This will not allow Plinth to
run as non-root.  Fix this by moving the operations to actions script.
2016-08-16 18:51:37 -04:00
Sunil Mohan Adapa
afdea208ec
transmission: Read configuration as super user
Due to permission restrictions on the configuration file (due to stored
password), it is not possible to read it as plinth user.  Read it using
sudo instead.
2016-08-16 18:39:38 -04:00
Sunil Mohan Adapa
522db2ce4c
dynamicdns: Allow Plinth to run as non-root
When invoking actions, invoke them using sudo so that Plinth itself can
run as non-root.  Most operations require superuser previlage.  Those
that don't require superuser should not be part of the action script and
can be moved to Plinth main.
2016-08-16 18:20:32 -04:00
Dietmar
91414ba113 Translated using Weblate (German)
Currently translated at 98.2% (625 of 636 strings)
2016-08-16 18:33:35 +02:00
Sunil Mohan Adapa
b7cbc56f8a
users: Fix checking restricted usernames
When editing an existing user, error is being thrown due to restricted
usernames check.  This is due to the username matching existing
username.

Also:

- Raise the validation error on the field instead of the entire form.

- Send error code along with validation error message.

- End the validation error message with a full stop for consistency.
2016-08-16 12:31:52 -04:00
Petter Reinholdtsen
5b4db1277f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (636 of 636 strings)
2016-08-15 23:44:03 +02:00
James Valleroy
4e1ef764cb
Release 0.10.0 v0.10.0 2016-08-12 18:16:09 -04:00
James Valleroy
68f67c0e79
Fix variable in translation so it can build 2016-08-12 17:58:07 -04:00
James Valleroy
66a1e5c72b
Fetch latest manual 2016-08-12 17:35:35 -04:00