Commit graph

420 commits

Author SHA1 Message Date
ljf
79ee0396d0 [enh] Add related info 2018-04-12 21:22:17 +02:00
ljf
ba01168684 [enh] Allow to display all operation logs with one command 2018-04-03 20:38:56 +02:00
Alexandre Aubin
79eb70ec61 Use number/name in i18n string to avoid breaking existing translations... 2018-03-16 14:38:04 +01:00
Alexandre Aubin
9009b3f9d3 Handle disclaimers 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c266147fd9 Be able to list only pending or done migrations 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c568b04459 Manage the auto/manual flag in migrations_migrate 2018-03-16 14:38:04 +01:00
Alexandre Aubin
bafe6efde2 Typo 2018-03-16 14:38:04 +01:00
Alexandre Aubin
7f359e363b Add mode, description and optionnal disclaimer for migrations 2018-03-16 14:38:04 +01:00
Alexandre Aubin
020dea6531 Change the way we list migrations (always load the module) and the way we manage its infos 2018-03-16 14:38:04 +01:00
Laurent Peuch
6dabcadf40
Merge branch 'unstable' into journals 2018-02-08 16:44:32 +01:00
Jean-Baptiste
78b87a6288
reset file 2018-02-07 22:09:41 +01:00
Laurent Peuch
d6311b62fe
[fix] double backslash again 2018-02-07 22:04:35 +01:00
ButterflyOfFire
89848a9b57 Added translation using Weblate (Arabic) 2018-02-07 20:58:26 +00:00
Laurent Peuch
e5a41be518
[fix] backslash needs to be double escaped 2018-02-07 21:42:27 +01:00
Laurent Peuch
400dc25d0e
Merge pull request #418 from YunoHost/checkurl_is_deprecated_meh
Moar depreciation warning about checkurl
2018-02-07 21:19:35 +01:00
Jean-Baptiste Holcroft
37a97cf9b5 [i18n] Translated using Weblate (French)
Currently translated at 100.0% (366 of 366 strings)
2018-01-24 09:19:56 +00:00
Laurent Peuch
be8ae067e6
Merge pull request #372 from YunoHost/tsig-sha256
Uses hmac-sha512 for dyndns TSIG
2018-01-24 10:03:34 +01:00
Alexandre Aubin
b23bc434f8 Bigger depreciation / more explicit depreciation warning about checkurl... 2018-01-16 18:49:31 +01:00
Lapineige
eab5038edc [i18n] Translated using Weblate (French)
Currently translated at 100.0% (358 of 358 strings)
2018-01-15 21:59:25 +00:00
Lapineige
f132031b38 [i18n] Translated using Weblate (French)
Currently translated at 100.0% (357 of 357 strings)
2018-01-15 21:59:25 +00:00
David B
e1f2dd6a59 [i18n] Translated using Weblate (Spanish)
Currently translated at 79.4% (282 of 355 strings)
2018-01-15 21:59:25 +00:00
Alexandre Aubin
d8435eaccc Add missing translation 2018-01-14 00:59:48 +01:00
Alexandre Aubin
27262f0e4b
Fix english 2018-01-14 00:30:06 +01:00
ljf (zamentur)
efb8416839
[fix] English sentences 2018-01-09 13:12:46 +01:00
ljf
8d2848a426 [enh] Warn users their symlink archives directory is broken 2018-01-09 13:00:40 +01:00
Laurent Peuch
cb29e20b9f
Merge pull request #409 from YunoHost/better_error_ux_app_not_available
Better error ux app not available
2018-01-07 18:45:01 +01:00
Laurent Peuch
9cd760defd [enh] make exceptions messages more obivous 2018-01-07 17:22:25 +01:00
Laurent Peuch
297026e654 [fix] improve UX, previous message was unclear for users
qsd
2018-01-07 17:22:03 +01:00
Laurent Peuch
388e611c45 [enh] raise exception when journal doesn't exist 2018-01-06 11:20:41 +01:00
Laurent Peuch
b97675516e [enh] display app name everytime possible on requirements testing to improve UX 2018-01-04 18:15:10 +01:00
Laurent Peuch
a079e3f5ee [enh] display which app is being upgraded 2018-01-04 18:02:58 +01:00
Laurent Peuch
a9eea61a26 [fix] overwritting key 2018-01-03 20:07:32 +01:00
Laurent Peuch
34433f07a4 Merge branch 'unstable' into tsig-sha256 2018-01-03 19:48:38 +01:00
Laurent Peuch
544ffb273e [mod] improve waiting time UX 2018-01-03 19:00:16 +01:00
Laurent Peuch
044b2406d3 [enh] better logging during key migration 2018-01-03 18:45:18 +01:00
YunoHost Bot
b560207423 [i18n] Translated using Weblate (French) (#387)
Currently translated at 100.0% (355 of 355 strings)
2017-11-26 17:29:14 +01:00
Jean-Baptiste Holcroft
4b99df7d07 Translated using Weblate (French)
Currently translated at 100.0% (355 of 355 strings)

Translation: YunoHost/YunoHost
Translate-URL: https://holcroft.fr/weblate/projects/yunohost/yunohost/fr/
2017-10-13 10:45:04 +02:00
Alexandre Aubin
5ae558edc9 [fix] Clean madness related to DynDNS (#353)
* Add a function to check if a dyndns provider provides a domain
* Add a function to check a domain availability from a dyndns provider
* Use new functions in dyndns_subscribe
* Replace complete madness by _dyndns_available in dyndns_update
* This regex is only used in dyndns_update, no need to define it at the whole file scope level
* Try to clarify management of old ipv4/ipv6 ...
* Add a nice helper to get both ipv4 and ipv6...
* Clarify the dyndns_update madness to get current ipv4/v6
* Remove now useless IPRouteLine
* Change default values of old ipv4/v6 to None, otherwise shit gets update just because IPv6 = None
* Rearrange thing a bit, move path to global variable
* Copypasta typo
* Dyndns zone file as a global variable
* Use helper to write zone content to file
* Adding some debugs/info messages
* Move the domain guessing to a dedicated function...
* Adding comments..
* Using subprocess check_call instead of os.system for nsupdate
* Removing dump of the zone update because it's kinda duplicated from what nsupdate already does
* Ignore error if old_ipvx file is non existent
* Add docstring for _dyndns_available
* Remove parenthesis otherwise this gonna displease Bram-sama :P
* Start working on postinstall .. use _dyndns_provides to check if domain is a .nohost.me or .nohost.st
* Use _dyndns_available to cleanly check for domain availability
* Forget about the weird 'domain split' check...
* Clean dyndns stuff in domain.py
* Missing argument for string
2017-10-08 23:44:07 +02:00
Weblate Admin
43dbf03ac8 Translated using Weblate (French)
Currently translated at 100.0% (353 of 353 strings)

Translation: YunoHost/YunoHost
Translate-URL: https://holcroft.fr/weblate/projects/yunohost/yunohost/fr/
2017-10-04 12:26:28 +02:00
YunoHost Bot
2a49613e59 Update from Weblate. (#355)
* [i18n] Translated using Weblate (French)

Currently translated at 100.0% (351 of 351 strings)

* [i18n] Translated using Weblate (French)

Currently translated at 100.0% (351 of 351 strings)
2017-10-02 19:56:31 +02:00
JimboJoe
1086a50eb2 Fix #1005 (add missing 'ask_path' key) (#369) 2017-09-13 19:35:29 +02:00
Laurent Peuch
fea6d3568f [fix] previous string was expecting an app name but we don't have any 2017-08-28 18:00:23 +02:00
Laurent Peuch
66524213cd Merge pull request #348 from YunoHost/clean_domains.py
Clean domains.py
2017-08-19 20:23:31 +02:00
Laurent Peuch
8567164d58 Merge pull request #346 from YunoHost/fix-559-dns-conf-is-not-actual-conf
[fix] Tell user that domain dns-conf shows a recommendation only
2017-08-18 03:24:48 +02:00
Laurent Peuch
4c069c5c3f [mod] fails when registering dynette domain and that dynette can't be reached 2017-08-13 23:32:50 +02:00
ljf (zamentur)
bb4af396d8 [fix] Make read-only mount bind actually read-only (#343)
* [fix] Mount bind readonly not really readonly
* Attempt to clarify and fix some issues with the readonly mount
* Fix some missing messages and exception handling
* Get rid of horrible bash command
* Use subproces.check_call to avoid security hazard
* Revert comment about hard link
* Add test that mount binds are readonly
2017-08-13 22:28:36 +02:00
Alexandre Aubin
1f7d56940e [fix] Tell user that domain dns-conf shows a recommendation only 2017-08-13 14:00:15 -04:00
Laurent Peuch
02ea0c0656 [enh] Add reboot/shutdown actions in tools (#190)
* [enh] Implements shutdown/reboot helpers.
* [enh] Improve reboot/shutdown help.
2017-08-11 16:16:09 +02:00
YunoHost Bot
7054f8a5bf Update from Weblate. (#340)
* Added translation using Weblate (Russian)
* [i18n] Translated using Weblate (Russian)

Currently translated at 2.4% (8 of 332 strings)
2017-08-07 18:23:53 +02:00
Laurent Peuch
a441f37454 Migration framework (#195)
* [enh] list migrations
* [enh] first version of the migrate command
* [mod] add todo comment
* [mod] migrate command shouldn't return anything
* [mod] rename yunohost_migrations to data_migrations
* [mod] better regex
* [enh] had base class for migration
* [fix] inverted condition
* [enh] save last runned migration
* [enh] add migrations state command
* [mod] add todo comments
* [mod] error handling
* [mod] DRY
* [doc] more comment
* [enh] handle exceptions on migration
* [mod] error handling
* [mod] DRY
* [enh] error handling
* [mod] this is done earlier
* [doc] docstring
* [enh] handle fail to load migration case
* [doc] add TODO Comment
* [fix] typos, thx ju
* [enh] add a migration to remove archivemount (as an example)
* [fix] check_call is boring
* [enh] support forward/backward migrations
* [mod] I don't need auth
* [fix] apt is expecting input...
* [mod] save it as int
* [mod] add some logging
* [doc] update todo
* [fix] I also need to run backward latest runed migration
* [enh] add target cli argument
* [enh] fake migration
* [enh] uniformly convert to int at the same place
* [fix] we need to filename now
* [enh] validate input
* [enh] handle 0 special case
* [mod] rename fake to skip
* [mod] s/runed/run/g
* [doc] anglich typo in comments
* [mod] more explicit error message
* [mod] more typo
* [doc] put comment in the right place
* [mod] typo
* [fix] forgot to cape migrations by target
* [fix] typo
* [mod] uses moulinette helpers
* [enh] launch migrations during package upgrade
* [mod] remove unused import
* [mod] sort translation keys
* [enh] i18n
* [fix] missing __init__.py in data_migrations
* [mod] move to a subcategory
* Typo / caps / consistency
* [fix] forgot that migrations is now in tools, in postinst
* Skip migrations during postinstall
* Remove archivemount example migration
It relied on apt-get, which can't be used during 'postinst' debian scripts because we're already inside a apt
* Add migration for cert group from 'metronome' to 'ssl-cert'
2017-08-07 15:55:18 +02:00