arcanis
e897e2cde2
do not write anything on httpexceptions in log
2021-10-03 02:05:28 +03:00
arcanis
edef4944f6
replace no-log with quiet
...
Also behavior of the flag has been changed: now it disables logs at all
2021-10-03 01:59:33 +03:00
arcanis
1192f12f91
do not use set_defaults for architecture arguments
...
according to the source code defaults always updates the values
dictionary. This in this specific case it is impossible to override the
value it will be always empty list.
In order to handle it we are adding another property to the Handler
class which allows to run with None architecture list.
This particular set_defaults behaviour is still useful for other cases
when we have to run command without any specific architecture
2021-10-03 00:59:24 +03:00
arcanis
6be6614e6d
add package request endpoint
2021-10-01 08:58:50 +03:00
arcanis
d60c553ea2
add debugtoolbar support
2021-09-26 12:31:12 +03:00
arcanis
427ba0f0ea
add ability to specify package source explicitly during the addition
2021-09-26 09:55:14 +03:00
arcanis
266d2bd77d
define permissions in views directly
2021-09-25 17:03:46 +03:00
arcanis
f333e89bd1
only set file rights if requested
2021-09-23 20:36:22 +03:00
arcanis
57f45fdc89
better reload
2021-09-17 19:15:53 +03:00
arcanis
6d1f641e50
add ability to reload authentication module
2021-09-17 16:05:38 +03:00
arcanis
0cf7756ec4
add ability to remove an user
...
also replace old user by new one before creation
2021-09-16 02:41:56 +03:00
arcanis
b561bcc25d
remove own implementations of getlist and getpath method in order to use
...
converters feature
2021-09-14 03:57:20 +03:00
arcanis
25d76b0482
add ability to filter status response by package status
2021-09-13 23:27:36 +03:00
arcanis
d2fe4b044f
raise InvalidCommand exception in case if remove option supplied without
...
package
2021-09-13 22:38:38 +03:00
arcanis
22272167e6
change spelling for distro name
2021-09-13 02:49:22 +03:00
arcanis
68aa327670
expiration on server side support ( #33 )
2021-09-13 01:18:04 +03:00
arcanis
41c8f4c35f
return description from the search
2021-09-12 22:31:34 +03:00
arcanis and GitHub
168b2f6880
OAuth2 ( #32 )
...
* make auth method asyncs
* oauth2 demo support
* full coverage
* update docs
2021-09-12 21:41:38 +03:00
arcanis
5bb244cbe8
add static files support and cookie expiration settings
2021-09-11 16:34:43 +03:00
arcanis and GitHub
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
arcanis
214f319123
add option to set user-password for service when updating its hash
2021-09-05 15:40:03 +03:00
arcanis
cfbc9d3267
move api endpoints to status-api
2021-09-05 06:46:14 +03:00
arcanis
19d1e17727
allow read only pages to be requested without authorization
2021-09-05 06:09:43 +03:00
arcanis and GitHub
19ba2ba8e5
migration of jinja tempaltes to bootstrap ( #30 )
2021-09-05 05:27:58 +03:00
arcanis and GitHub
f49894107a
add remove uknown method ( #29 )
2021-09-03 02:28:27 +03:00
arcanis and GitHub
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
arcanis
284f449225
Release 1.2.6
2021-08-21 16:19:21 +03:00
arcanis
2842e40bf7
split S3.sync to different methods
2021-08-18 23:59:18 +03:00
arcanis
343768e015
guess mime type for local files
2021-08-18 05:04:26 +03:00
arcanis
8f55cc600e
add manpage generator
2021-08-17 04:05:18 +03:00
arcanis
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
arcanis
d3a00e1937
use asyncmock from unittest library
2021-08-11 21:09:10 +03:00
arcanis
0129ec39ec
use nosec instead of disabling mktemp rule
2021-08-11 02:51:29 +03:00
arcanis
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
arcanis
47c4e5bb42
move web server to loopback by default
2021-08-11 02:02:18 +03:00
arcanis
d548fa02f0
add docstrings for every fixture and test methods
...
also add tests for missing components
2021-08-11 01:55:27 +03:00
arcanis
b5c6c286f7
skip update process if no update supplied
2021-08-10 23:25:12 +03:00
arcanis and GitHub
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
arcanis
dad3f418ad
handle provides list
2021-07-05 22:08:04 +03:00
arcanis and GitHub
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
arcanis and GitHub
9d37e3ae23
imply no-log for every unsafe parser ( #20 )
2021-05-19 23:30:59 +03:00
arcanis
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
arcanis and GitHub
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
arcanis and GitHub
f2b39fe439
add search subparser ( #15 )
2021-04-09 11:57:06 +03:00
arcanis and GitHub
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
arcanis
fbccb1394d
format long line
2021-04-06 05:53:38 +03:00
arcanis
01887ec44b
add ability to skip email report generation for empty update list
2021-04-06 05:51:50 +03:00
arcanis and GitHub
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
arcanis
fcb892f39f
implicit type conversion from command line
2021-04-04 23:53:30 +03:00
arcanis
1785b0470f
more options in setup command
2021-04-04 15:42:06 +03:00