Alexandre Aubin
7482f052f6
Get rid of gnupg, just store a hash of the id:token to reauthenticate later using session info
2019-08-20 20:31:10 +02:00
Alexandre Aubin
3822496622
Try to improve semantic : s_hash -> s_token
2019-08-20 19:53:51 +02:00
Alexandre Aubin
bcaf8b2e4a
Move clean_session with the other session management method + add a check for session.hashed for additional security ?
2019-08-20 19:42:32 +02:00
Alexandre Aubin
ebc37ea014
Move init_authenticator to actionsmap.py for clarity to avoid spreading this shit over 72 files
2019-08-20 05:55:06 +02:00
Alexandre Aubin
65fe685a90
Get rid of this 'help' madness and more generally this three-tuppled containing various tuples and weird stuff ... use a simple dict everywhere instead
2019-08-20 05:43:17 +02:00
Alexandre Aubin
cad2cd8006
Get rid of the _format_conf madness. Instead, have clear functions to define if authentication is required, trigger the auth process if so
2019-08-20 05:43:09 +02:00
Alexandre Aubin
968667d9ed
Try to improve the semantic of where/when the auth happens...
2019-08-20 03:32:52 +02:00
Alexandre Aubin
8d77fdb9a4
Cleaned unused stuff or overly complicated for no reason
2019-08-20 03:31:37 +02:00
Alexandre Aubin
83d9e772e7
Nowadays we don't have .errno anymore ?
2019-08-20 00:45:05 +02:00
Alexandre Aubin
3878ffdc04
Merge pull request #213 from YunoHost/detailed_error_messages_for_assert
...
[mod] add detail error messages on asserts
2019-08-18 14:12:56 +02:00
Alexandre Aubin
16c13012d6
Merge pull request #215 from yunohost-bot/weblate-yunohost-moulinette
...
Update from Weblate
2019-08-18 14:11:33 +02:00
htsr
b2ce41b101
Translated using Weblate (French)
...
Currently translated at 96.4% (54 of 56 strings)
Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2019-08-16 07:56:13 +00:00
tufek yamero
102c3ba001
Translated using Weblate (French)
...
Currently translated at 96.4% (54 of 56 strings)
Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2019-08-16 07:56:13 +00:00
Alexandre Aubin
d8cbbb05f7
For some reason we need python-setuptools to build now...
2019-08-12 13:48:23 +02:00
Alexandre Aubin
052e962465
Merge branch 'stretch-stable' into stretch-unstable
2019-08-05 18:42:13 +02:00
Alexandre Aubin
3cade15194
Update changelog for 3.6.4.1
2019-08-05 18:41:20 +02:00
Alexandre Aubin
68d786d2c1
Gotta catch them all...
2019-08-05 18:39:41 +02:00
Alexandre Aubin
b393d55ebd
Gotta catch them all...
2019-08-05 18:01:05 +02:00
Alexandre Aubin
2e2e627894
[yolo] Add a write_to_yaml utility similar to write_to_json
2019-08-05 17:59:10 +02:00
Laurent Peuch
ed3823b88e
[mod] only uses doc/requirements.txt in tox for docs
2019-08-04 20:01:16 +02:00
Laurent Peuch
49c749c773
[fix] remove tox old deprecated option
2019-08-04 19:47:05 +02:00
Laurent Peuch
dced104c9d
[mod] use docs requirements.txt file
2019-08-04 19:46:55 +02:00
Laurent Peuch
307f660230
[mod] allow to only build doc with sphinx
2019-08-04 19:46:42 +02:00
Luke Murphy
d52a574f77
Test documentation under Tox
2019-08-04 19:46:20 +02:00
Laurent Peuch
af2c80c3e2
[fix] this function doesn't exist anymore
2019-08-04 19:06:27 +02:00
Laurent Peuch
bcf92c707e
[fix] bad images file names
2019-08-04 19:06:19 +02:00
Laurent Peuch
74c8f799a1
[fix] too short ---- subtitle line
2019-08-04 19:06:13 +02:00
Laurent Peuch
df7d47831b
[doc/fix] you need a blank line after ::
2019-08-04 19:06:00 +02:00
Laurent Peuch
f1ac5b8fe6
[doc/fix] fix doc building
2019-08-04 19:05:33 +02:00
Laurent Peuch
004a8e5567
[doc/fix] ref to actionmap didn't existed
2019-08-04 19:05:18 +02:00
Laurent Peuch
f49c004a59
[mod] add detail error messages on asserts
2019-08-04 18:48:16 +02:00
Alexandre Aubin
758778a04b
Typo
2019-08-03 21:24:48 +02:00
Bram
2e73e0f328
Merge pull request #212 from decentral1se/fix-lint-tests
...
Appease linter with right spacing
2019-08-01 17:32:18 +02:00
Luke Murphy
7b6ff983cd
Appease linter with right spacing
2019-08-01 16:54:55 +02:00
Alexandre Aubin
6185526bb4
Merge pull request #211 from decentral1se/fix-broken-import
...
Import DATA_DIR correctly
2019-08-01 16:53:46 +02:00
Luke Murphy
659e20d5f5
Import DATA_DIR correctly
...
Fix for f6bfabc7aa
.
2019-08-01 16:51:04 +02:00
Alexandre Aubin
f6bfabc7aa
Merge pull request #207 from decentral1se/refactor-global-loading
...
Refactor global loading
2019-08-01 12:20:38 +02:00
Alexandre Aubin
c2886b3d3c
Merge pull request #210 from decentral1se/parallel-linting-tox-travis
...
Add lint job to Tox and Travis
2019-08-01 12:19:09 +02:00
Luke Murphy
dfd0868510
Use flake8 under Tox and fix complaints
2019-07-29 13:26:16 +02:00
Laurent Peuch
1f10529209
[fix] syntax error, again -_-'
2019-07-29 03:56:10 +02:00
Laurent Peuch
599bec33b8
[fix] bad key, we aren't in self.local situation
2019-07-29 02:44:04 +02:00
Luke Murphy
14a3d63453
Test the cache file opening and creation
2019-07-28 22:04:07 +02:00
Luke Murphy
e027a188a9
Refactor exposing of global configuration
...
We do this to make it easier to control this value during testing. We
should not import these values at package setup time. Nor should we
import them at package load time.
This change introduces a new API for the Moulinette package. The
moulinette.env accessor. This is a breaking change. However, I've
searched around and can't seem to find any usage that relies directly on
these properties being available.
I've tried to maintain API backwards compatibility in all cases
otherwise.
2019-07-28 22:04:07 +02:00
Laurent Peuch
69b0d496dd
[fix] fix all tests that weren't formatting translated strings correctly
2019-07-28 21:38:37 +02:00
Laurent Peuch
737f2dd967
[fix] missing argument for translation string formatting
2019-07-28 21:38:19 +02:00
Laurent Peuch
2403ee1b7d
[mod] during tests failed to translate string is an error
2019-07-28 21:29:50 +02:00
Laurent Peuch
fdf9a719f1
[mod] way better failed translation error messages
2019-07-28 21:27:41 +02:00
Laurent Peuch
a8966b8643
[mod] add more message to inform users that some stuff are a warning
2019-07-28 21:14:24 +02:00
Laurent Peuch
da00fc9eb0
[mod] don't install test module with setup.py
2019-07-28 19:46:10 +02:00
Laurent Peuch
b739f27994
[mod] move to setuptools
2019-07-28 19:43:28 +02:00