d60c553ea2
add debugtoolbar support
2021-09-26 12:31:12 +03:00
427ba0f0ea
add ability to specify package source explicitly during the addition
2021-09-26 09:55:14 +03:00
266d2bd77d
define permissions in views directly
2021-09-25 17:03:46 +03:00
f333e89bd1
only set file rights if requested
2021-09-23 20:36:22 +03:00
659db071a1
raise httpexception instead of returning it from a function
2021-09-19 14:28:24 +03:00
845bc9b5e8
Release 1.3.0
2021-09-18 06:28:52 +03:00
57f45fdc89
better reload
2021-09-17 19:15:53 +03:00
ba483173af
update aioauth-client to newest version
2021-09-17 18:45:43 +03:00
6d1f641e50
add ability to reload authentication module
2021-09-17 16:05:38 +03:00
0cf7756ec4
add ability to remove an user
...
also replace old user by new one before creation
2021-09-16 02:41:56 +03:00
b561bcc25d
remove own implementations of getlist and getpath method in order to use
...
converters feature
2021-09-14 03:57:20 +03:00
25d76b0482
add ability to filter status response by package status
2021-09-13 23:27:36 +03:00
d2fe4b044f
raise InvalidCommand exception in case if remove option supplied without
...
package
2021-09-13 22:38:38 +03:00
22272167e6
change spelling for distro name
2021-09-13 02:49:22 +03:00
68aa327670
expiration on server side support ( #33 )
2021-09-13 01:18:04 +03:00
04f6af58d9
send data in json_responses in case of error instead of text
2021-09-12 22:41:02 +03:00
41c8f4c35f
return description from the search
2021-09-12 22:31:34 +03:00
168b2f6880
OAuth2 ( #32 )
...
* make auth method asyncs
* oauth2 demo support
* full coverage
* update docs
2021-09-12 21:41:38 +03:00
5bb244cbe8
add static files support and cookie expiration settings
2021-09-11 16:34:43 +03:00
11c03a9041
Add ability to trigger updates from the web ( #31 )
...
* add external process spawner and update test cases
* pass no_report to handlers
* provide service api endpoints
* do not spawn process for single architecture run
* pass no report to handlers
* make _call method of handlers public and also simplify process spawn
* move update under add
* implement actions from web page
* clear logging & improve l&f
2021-09-10 00:33:35 +03:00
214f319123
add option to set user-password for service when updating its hash
2021-09-05 15:40:03 +03:00
cfbc9d3267
move api endpoints to status-api
2021-09-05 06:46:14 +03:00
0f4c89145b
allow head for every get request
2021-09-05 06:41:50 +03:00
19d1e17727
allow read only pages to be requested without authorization
2021-09-05 06:09:43 +03:00
19ba2ba8e5
migration of jinja tempaltes to bootstrap ( #30 )
2021-09-05 05:27:58 +03:00
f49894107a
add remove uknown method ( #29 )
2021-09-03 02:28:27 +03:00
233ba9c415
add license header to __init__.py
2021-09-02 23:43:05 +03:00
b7cff0a19d
Auth support ( #25 )
...
* initial auth implementation
* add create user parser
* add tests
* update dependencies list
* add login annd logout to index also improve auth
* realworld fixes
* add method set_option to Configuration and also use it everywhere
* split CreateUser handler to additional read method
* check user duplicate on auth mapping read
* generate salt by using passlib instead of random.choice
* case-insensetive usernames
* update dependencies
* update configuration reference
* improve tests
* fix codefactor errors
* hide fields if authorization is enabled, but no auth supplied
* add settings object for auth provider
* readme update
2021-09-02 23:36:00 +03:00
60b94b9ac0
use {} instead of dict literal according to pylint recommendation
2021-08-22 13:24:42 +03:00
284f449225
Release 1.2.6
2021-08-21 16:19:21 +03:00
d18df0935e
Release 1.2.5
2021-08-19 02:36:05 +03:00
c15cc4b853
disable manpages building for now since it requires installed distribution
2021-08-19 02:35:48 +03:00
fc67778e89
Release 1.2.4
2021-08-19 00:45:58 +03:00
bc923b0e8f
Release 1.2.3
2021-08-19 00:18:12 +03:00
2842e40bf7
split S3.sync to different methods
2021-08-18 23:59:18 +03:00
343768e015
guess mime type for local files
2021-08-18 05:04:26 +03:00
8f55cc600e
add manpage generator
2021-08-17 04:05:18 +03:00
c757554148
Release 1.2.2
2021-08-17 01:03:04 +03:00
f488105fd2
Release 1.2.1
2021-08-17 00:52:09 +03:00
2e89b9483f
logging rethink
...
* well lets replace f-strings by %s as it is originally recommended
* use syslog handler by default
2021-08-17 00:23:34 +03:00
d9b4015be5
Release 1.2.0
2021-08-11 05:02:23 +03:00
62661c9fb1
add bandit integration and fix its warnings
2021-08-11 02:45:13 +03:00
78636c2035
web templates improvements
...
* enable jinja autoescape by default for jinja raw generator
* allow to search by multiple strings (OR)
* replace test templates by symlink
2021-08-11 02:12:14 +03:00
b5c6c286f7
skip update process if no update supplied
2021-08-10 23:25:12 +03:00
aad599be67
Native s3 sync ( #23 )
...
* Native S3 sync implementation
* fix imports
* fix paths reading
* install s3 components duriing test stage
2021-08-10 23:18:56 +03:00
f8ff2cbf5b
Release 1.1.0
2021-07-05 22:11:14 +03:00
dad3f418ad
handle provides
list
2021-07-05 22:08:04 +03:00
69b319d39a
remove type: ignore for newest python
2021-06-28 02:32:54 +03:00
33cfa8fef8
Feature/all archs ( #21 )
...
* add init subcommand
* add also init command to repository object
* add ability to generate list of architectures
* check if architecture list is not empty
2021-05-23 16:40:40 +03:00
9d37e3ae23
imply no-log for every unsafe parser ( #20 )
2021-05-19 23:30:59 +03:00
2eb2d3a70a
allow to specify list of package dependencies in rebuild target
...
also replace nargs= by action=append in non-positional args. It is
required to make arguments parsing result more predictable and
consistent
2021-04-18 13:34:27 +03:00
46389b87e7
Release 1.0.0
2021-04-10 01:38:55 +03:00
856a94ff00
import pgp key implementation ( #17 )
...
* import pgp key implementation
* do not ask confirmation for local sign. Also add argparser test
* superseed requests by python-aur package
* ...and drop --skippgpcheck makgepkg flag by default
2021-04-10 01:37:45 +03:00
f2b39fe439
add search subparser ( #15 )
2021-04-09 11:57:06 +03:00
213b2c65a0
Add web status route ( #13 )
...
* add status route
* typed status and get status at the start of application
2021-04-08 01:48:53 +03:00
e5966c497f
Release 0.22.1
2021-04-06 05:54:04 +03:00
01887ec44b
add ability to skip email report generation for empty update list
2021-04-06 05:51:50 +03:00
4d4ddffa8f
Release 0.22.0
2021-04-06 05:46:12 +03:00
4729c0ea5f
Email report ( #11 )
...
* Demo email report implementation
* improved ssl mode
* correct default option spelling and more fields to be hidden for not
extended reports
2021-04-06 05:45:17 +03:00
035a23a8de
Release 0.21.4
2021-04-05 02:28:38 +03:00
70465b5044
Release 0.21.3
2021-04-05 02:22:44 +03:00
1b979725a3
Release 0.21.2
2021-04-05 02:01:28 +03:00
a3fe361596
Release 0.21.1
2021-04-05 00:45:12 +03:00
6c96c9e73a
Release 0.21.0
2021-04-05 00:38:23 +03:00
9b08b0694e
try to make auto archive upload
2021-04-05 00:37:03 +03:00
fcb892f39f
implicit type conversion from command line
2021-04-04 23:53:30 +03:00
1785b0470f
more options in setup command
2021-04-04 15:42:06 +03:00
c04f940ad3
fix check errors
2021-04-04 14:00:42 +03:00
207da4caa7
100% coverage
2021-04-03 21:30:57 +03:00
cad85b0f20
add ability to fitler by dependency list
2021-04-02 04:20:39 +03:00
3e8e54857f
add ability to remove package from status page
2021-04-02 01:26:46 +03:00
6470b13511
Release 0.20.0
2021-04-01 02:38:59 +03:00
4e08297311
constistent classmethod and staticmethod usage
...
General idea is to use classmethod for every constructor and
statismethod otherwise.
Also use self and cls whenever it's possible to call static and class
methods
2021-03-31 04:29:08 +03:00
32c3c52874
change arch specific section naming from section_arch to section:arch
...
Some archs can have _ in their name. Also in future we can use sections
with similar names
2021-03-31 02:31:14 +03:00
e637a647c5
Release 0.19.0
2021-03-31 02:19:44 +03:00
e21b990777
add now argument to add command
2021-03-31 02:19:13 +03:00
c0be7f7a17
filter out every foreign arch in config
2021-03-31 01:55:39 +03:00
612cb2fa22
read sign targets from correct path
2021-03-31 00:11:05 +03:00
cf276f2398
make configuration object arch-specific
2021-03-31 00:04:13 +03:00
4ca2348f0d
more verbose variables
2021-03-30 05:29:13 +03:00
eb02e1e62b
merge settings groups instead of using whole group
2021-03-30 04:58:15 +03:00
8d7d508bb2
move rsync and s3 options to configuration
2021-03-30 02:38:18 +03:00
a875225b78
verbose help message
2021-03-30 02:25:23 +03:00
e87402fdde
add more tests
2021-03-30 01:42:01 +03:00
3996055f56
Release 0.18.0
2021-03-29 11:48:54 +03:00
74fc283078
more properties to be shown in status pages
2021-03-29 11:48:32 +03:00
eb92f75384
architecture depending pacman.conf
2021-03-29 10:08:11 +03:00
63529633ec
add status update subcommand
...
also satisfy pylint with too big method with too much variables
2021-03-29 04:17:10 +03:00
930b47c704
Release 0.17.0
2021-03-29 03:25:43 +03:00
a89888769f
Setup command ( #9 )
...
* block issues without templates
* add setup subcommand
* handle devtools config correctly
2021-03-29 03:24:58 +03:00
6f1b37c4cb
add sign command ( #7 ) ( #8 )
2021-03-28 16:24:00 +03:00
5cb3fd5853
Release 0.16.0
2021-03-28 15:38:12 +03:00
60b8477cde
Add tests ( #1 ) ( #5 )
...
* add models tests (#1 )
also replace single quote to double one to confort PEP docstring
+ move _check_output to class properties to make it available for
mocking
* alpm tests implementation
* try to replace os with pathlib
* update tests for pathlib
* fix includes glob and trim version from dependencies
* build_tools package tests
* repository component tests
* add sign tests
* complete status tests
* handle exceptions in actual_version calls
* complete core tests
* move configuration to root conftest
* application tests
* complete application tests
* change copyright to more generic one
* base web tests
* complete web tests
* complete testkit
also add argument parsers test
2021-03-28 15:30:51 +03:00
69499b2d0a
split functions to handles package ( #3 )
2021-03-21 16:33:04 +03:00
475afe4e08
add ability to import packages from diretory ( #2 )
2021-03-21 15:29:30 +03:00
2f2d6c2b70
imply unsafe option for some commands ( #4 )
2021-03-21 15:22:06 +03:00
15e3d2500c
add status command
2021-03-20 22:20:47 +03:00
3d74b1485a
Release 0.15.0
2021-03-20 18:05:36 +03:00
413d3b7509
web service improvements
...
* load and save web service state to cache file
* disable web reporting to self
* restore console handler settings
* allow to redirect logs to stderr
* verbose http error logging
* update package status by group, not by single package
* split Repository class to several traits
* move json generators/readers to dataclasses
2021-03-20 18:01:57 +03:00
3e2fb7b4e6
group package updates by bases for correct reporting
2021-03-20 16:13:13 +03:00