Commit Graph
1032 Commits
Author SHA1 Message Date
Sunil Mohan Adapa 65aadef546 actions: Hush some unneeded output of systemd 2016-09-04 14:47:28 -04:00
Sunil Mohan Adapa 72c6aad514 minetest: Fix showing status block and diagnostics 2016-09-03 15:15:59 -04:00
Sunil Mohan Adapa b097731e40 setup: Fix arguments to setup without install
- When arguments are passed to --setup-no-install, use them correctly.

- Explicitly initialize member in constructor

- Minor indentation
2016-09-03 11:28:58 +05:30
James Valleroy 548e0ebd60 Add --setup-no-install command
Acts the same as --setup, but does not install any packages. Will
raise an error if any required package is not already installed.
2016-09-03 10:02:54 +05:30
James Valleroy a1a8e17497 Clean up remaining references to packagekit 2016-09-03 10:02:36 +05:30
Sunil Mohan Adapa 3454abdc43 monkeysphere: Allow non-root cancel of publishing
Implement killing the publish process from within the action.  Don't let
the killing be too generic to avoid potential security issues.  Kill
process only if it appears as expected.
2016-09-02 12:00:08 -04:00
Sunil Mohan Adapa f9bea39483 monkeysphere: Handle unavailable imported domains
After a domain has been imported into a key and later the domain is
removed, handle the case properly.

- Show the Add Domains button only if there are domains that can be
  imported.

- Show domains that have been imported into a key but not available in
  the system specially.

- Sort list of domains shown.
2016-09-02 12:00:05 -04:00
Sunil Mohan Adapa cd96af6854 monkeysphere: Minor indentation 2016-09-02 12:00:01 -04:00
Sunil Mohan Adapa f68e8612f1 monkeysphere: Allow SHA256 hashes in URLs 2016-09-02 11:59:52 -04:00
Sunil Mohan Adapa 34a557c292 monkeysphere: Sort displayed items
So that reloading a page does not lead to complete order change.  Use
SSH fingerprint because that is available for all the keys.
2016-09-02 11:59:46 -04:00
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
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
John Doe 0e4a722147 Translated using Weblate (French)
Currently translated at 100.0% (637 of 637 strings)
2016-08-27 20:11:23 +02: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