Commit Graph

453 Commits

Author SHA1 Message Date
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 444da87fdc Release 1.4.0 2021-10-01 09:25:35 +03:00
arcanis 6be6614e6d add package request endpoint 2021-10-01 08:58:50 +03:00
arcanis 8add507957 docs update 2021-09-26 14:39:35 +03:00
arcanis af5363d158 add index url 2021-09-26 14:29:42 +03:00
arcanis d60c553ea2 add debugtoolbar support 2021-09-26 12:31:12 +03:00
arcanis 5a6d0e0000 set both value and innerText during search
current implementation just adds package name with the description which
is incorrect
2021-09-26 10:34:21 +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 659db071a1 raise httpexception instead of returning it from a function 2021-09-19 14:28:24 +03:00
arcanis 56c642e2a9 add manpage 2021-09-19 13:56:11 +03:00
arcanis 845bc9b5e8 Release 1.3.0 2021-09-18 06:28:52 +03:00
arcanis 57f45fdc89 better reload 2021-09-17 19:15:53 +03:00
arcanis ba483173af update aioauth-client to newest version 2021-09-17 18:45:43 +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 38dce8c0fe add target for architecture and also update it 2021-09-13 02:01:48 +03:00
arcanis 68aa327670 expiration on server side support (#33) 2021-09-13 01:18:04 +03:00
arcanis 04f6af58d9 send data in json_responses in case of error instead of text 2021-09-12 22:41:02 +03:00
arcanis 41c8f4c35f return description from the search 2021-09-12 22:31:34 +03:00
arcanis 168b2f6880 OAuth2 (#32)
* make auth method asyncs

* oauth2 demo support

* full coverage

* update docs
2021-09-12 21:41:38 +03:00
arcanis 14e8eee986 remove deprecated access status 2021-09-11 23:06:30 +03:00
arcanis 88c8c929dc add error description to modals 2021-09-11 23:05:51 +03:00
arcanis 5bb244cbe8 add static files support and cookie expiration settings 2021-09-11 16:34:43 +03:00
arcanis f3fd0780fb documentation update 2021-09-10 03:32:45 +03:00
arcanis 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 0f4c89145b allow head for every get request 2021-09-05 06:41:50 +03:00
arcanis 49a05d0520 add repository name to base tempalte 2021-09-05 06:15:24 +03:00
arcanis 19d1e17727 allow read only pages to be requested without authorization 2021-09-05 06:09:43 +03:00
arcanis d7bf647493 update docs 2021-09-05 05:38:45 +03:00
arcanis 19ba2ba8e5 migration of jinja tempaltes to bootstrap (#30) 2021-09-05 05:27:58 +03:00
arcanis f49894107a add remove uknown method (#29) 2021-09-03 02:28:27 +03:00
arcanis 233ba9c415 add license header to __init__.py 2021-09-02 23:43:05 +03:00
arcanis 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 60b94b9ac0 use {} instead of dict literal according to pylint recommendation 2021-08-22 13:24:42 +03:00
arcanis 284f449225 Release 1.2.6 2021-08-21 16:19:21 +03:00
arcanis d18df0935e Release 1.2.5 2021-08-19 02:36:05 +03:00
arcanis c15cc4b853 disable manpages building for now since it requires installed distribution 2021-08-19 02:35:48 +03:00
arcanis fc67778e89 Release 1.2.4 2021-08-19 00:45:58 +03:00
arcanis 39ac9d4e1f include setup.cfg to tarball 2021-08-19 00:45:26 +03:00
arcanis bc923b0e8f Release 1.2.3 2021-08-19 00:18:12 +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