1907 Commits

Author SHA1 Message Date
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
James Valleroy
ae0bd62b1e
monkeysphere: Use raw string for re match
Update changelog.
2016-09-02 14:40:28 -04:00
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
4f9b271824
monkeysphere: Make sure show keys output is robust 2016-09-02 11:59:58 -04:00
Sunil Mohan Adapa
9b89fac9e1
monkeysphere: Handle new format of uids in output
Older format was:
uid ssh://host

Newer format is:
uid [ something] ssh://host

I believe this change happened due to migration from gpg to gpg2. Adopt
our code to handle both cases.
2016-09-02 11:59:55 -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
b49a03f70b
monkeysphere: Adopt to using SHA256 fingerprints
Monkeysphere was using MD5 fingerprints (without the 'MD5:' prefix).
They seem to have switched to 'SHA256' recently and started prepending
the hash with the string 'SHA256:'.  Make the module work with this
change and hopefully for future hash algorithm fixes.
2016-09-02 11:59:30 -04:00
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