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
Bram
76c8620861
Merge pull request #205 from YunoHost/warning_long_lock
...
Warn the user about long locks for a way better UX
2019-07-28 18:56:43 +02:00
Bram
a22208ce40
[fix] typo, created a tuple instead of a string
2019-07-28 15:28:17 +02:00
Bram
bce7aee510
Merge pull request #208 from YunoHost/better_debug_gpg
...
Better debug information related to gpg for storing session
2019-07-28 06:02:50 +02:00
Bram
d6f60cd2b9
Merge pull request #189 from YunoHost/update_doc_for_group_and_permission
...
Update doc for group and permission
2019-07-28 06:02:23 +02:00
Bram
ee30ec0872
[doc] ldap schema, groups are merged in 3.7
2019-07-28 06:01:48 +02:00
Laurent Peuch
55515cb065
[mod] add toml in install_requires of setup.py
2019-07-28 05:51:06 +02:00
Bram
b7d415dc2c
[ux] make warning clearer because users often report it
2019-07-26 18:29:19 +02:00
Laurent Peuch
ca49ffefc1
[ux] also inform the user once we've stopped waiting for the lock
2019-07-25 04:15:52 +02:00
Josue-T
eeb880ac9a
Merge branch 'stretch-unstable' into update_doc_for_group_and_permission
2019-07-25 00:21:00 +02:00
Bram
de1db14327
Merge pull request #206 from decentral1se/pytest-fixture-fix
...
Invoke Pytest fixture options correctly
2019-07-23 22:22:47 +02:00
Laurent Peuch
79347af868
[mod/ux] display the real error when failed to retrieve session
2019-07-23 04:00:37 +02:00
Bram
96a0774736
[mod] capitalise message
...
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-07-22 01:45:54 +02:00
Alexandre Aubin
3c9230ee9f
Merge pull request #204 from YunoHost/toml-utils
...
add utils.filesystem.read_toml and depends on toml in moulinette
2019-07-21 13:34:28 +02:00
Alexandre Aubin
b1704654e1
Add the corrupted_toml string
2019-07-21 13:32:34 +02:00
Laurent Peuch
9c6c92b2c1
[mod] death to silent unverbose errors èwé
2019-07-20 16:03:30 +02:00
Bram
d72340f536
[mod] typo in comment
...
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-07-20 14:44:23 +02:00
Bram
122f6a3670
[mod] capitalize
...
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-07-20 14:42:52 +02:00
Luke Murphy
c70bfe5589
Invoke Pytest fixture options correctly
2019-07-20 10:44:39 +02:00
Laurent Peuch
44878d7148
[ux] add a warning mecanism to inform the user about the current lock
2019-07-20 05:53:00 +02:00
Laurent Peuch
02c320f553
[mod] add debug log telling we are trying to aquired the log
2019-07-20 05:52:08 +02:00
Alexandre Aubin
c1ae0dd46c
Merge pull request #203 from decentral1se/spike/unit-test-apocalypse
...
Python3 migration prep: Tox, Pytest and migrating existing unit tests
2019-07-14 18:55:09 +02:00
Luke Murphy
f98c6a1786
Update the Travis CI to use Tox
2019-07-14 11:58:58 +02:00
Luke Murphy
88fe6bc0d7
Add Pep8 configuration
2019-07-14 11:58:58 +02:00
Luke Murphy
ef1dbf0605
Remove tests which are not used now
2019-07-14 11:58:58 +02:00
Luke Murphy
ee1c67811b
Migrate utility tests to Pytest top level folder
2019-07-14 11:58:57 +02:00
Luke Murphy
5744dbd6fa
Use correct key for this locale lookup
2019-07-14 11:58:57 +02:00
Luke Murphy
14c4fafd39
Localise import to avoid setuptools install error
2019-07-14 01:31:38 +02:00
Luke Murphy
9d1e2c511c
Arrange packaging, Tox and pytest configuration
2019-07-14 01:31:38 +02:00
Luke Murphy
b78a7ca584
Make globals overridable
2019-07-14 01:31:37 +02:00
Laurent Peuch
9466c71a45
[mod] depends on toml in debian/control
2019-07-07 05:48:24 +02:00
Laurent Peuch
7b65a3b6c2
[enh] add read_toml util
2019-07-07 05:48:10 +02:00
Alexandre Aubin
7740e3e49d
Update changelog for 3.6.4
2019-07-04 23:29:09 +02:00
Alexandre Aubin
4c692dea11
Merge pull request #202 from yunohost-bot/weblate-yunohost-moulinette
...
Update from Weblate
2019-06-22 14:50:52 +02:00
Weblate
ce48fa00d4
Added translation using Weblate (Norwegian Bokmål)
2019-06-15 00:06:59 +00:00
Alexandre Aubin
a88eb216f9
Update changelog for 3.6.1
2019-06-04 13:27:25 +02:00
Alexandre Aubin
41b1f34d25
Merge pull request #201 from YunoHost/ldif_parser
...
Create a LDIF parser
2019-05-31 18:28:00 +02:00