Commit Graph
100 Commits
Author SHA1 Message Date
arcanisandGitHub 2f5790f69f add ability to add manually stored packages (#40)
* add ability to add manually stored packages

* update tests

* handle manual packages in remove-unknown method

* live fixes

also rename branches to has_remotes method and change return type
2021-10-12 21:15:35 +03:00
arcanis faaf72a840 improve scripts
move logic to separated shell scripts and also create shell script for
repository setup

Also force create directory according to systemd recommendations
2021-10-11 02:20:16 +03:00
arcanis ef44895b0d more verbose help messages 2021-10-07 01:56:22 +03:00
arcanis 5cfffbcd46 patch control subcommands 2021-10-05 08:57:42 +03:00
arcanisandGitHub 3e0058620b patch support (#35) 2021-10-03 15:20:36 +03:00
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 a4eaf87116 Release 1.4.1 2021-10-03 01:02:41 +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 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
arcanisandGitHub 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
arcanisandGitHub 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
arcanisandGitHub 19ba2ba8e5 migration of jinja tempaltes to bootstrap (#30) 2021-09-05 05:27:58 +03:00
arcanisandGitHub 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
arcanisandGitHub 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
arcanis 8f55cc600e add manpage generator 2021-08-17 04:05:18 +03:00
arcanis c757554148 Release 1.2.2 2021-08-17 01:03:04 +03:00
arcanis 899603e4b9 fix typo in log naming 2021-08-17 01:02:42 +03:00
arcanis f488105fd2 Release 1.2.1 2021-08-17 00:52:09 +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 d9b4015be5 Release 1.2.0 2021-08-11 05:02:23 +03:00
arcanis c6b550761b cleanup and speedup runs 2021-08-11 04:59:45 +03:00
arcanis 0129ec39ec use nosec instead of disabling mktemp rule 2021-08-11 02:51:29 +03:00
arcanis 62661c9fb1 add bandit integration and fix its warnings 2021-08-11 02:45:13 +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
arcanisandGitHub 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 f8ff2cbf5b Release 1.1.0 2021-07-05 22:11:14 +03:00
arcanis dad3f418ad handle provides list 2021-07-05 22:08:04 +03:00
arcanis c455bd34ce install types for mypy 2021-06-28 02:54:20 +03:00
arcanis 69b319d39a remove type: ignore for newest python 2021-06-28 02:32:54 +03:00
arcanisandGitHub 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
arcanisandGitHub 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 46389b87e7 Release 1.0.0 2021-04-10 01:38:55 +03:00
arcanisandGitHub 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 a0e6009876 better naming for actions 2021-04-09 20:02:17 +03:00
arcanisandGitHub f2b39fe439 add search subparser (#15) 2021-04-09 11:57:06 +03:00
arcanisandGitHub 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
arcanisandGitHub a416214e5f Move search line inside extended report option 2021-04-06 17:03:34 +03:00
arcanis e5966c497f Release 0.22.1 2021-04-06 05:54:04 +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 4d4ddffa8f Release 0.22.0 2021-04-06 05:46:12 +03:00
arcanisandGitHub 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 035a23a8de Release 0.21.4 2021-04-05 02:28:38 +03:00
arcanis 0d37ce5095 drop changelog
the main reason is that it uses github to generate changelog. Thus it
will be updated AFTER release is created
2021-04-05 02:27:12 +03:00
arcanis 70465b5044 Release 0.21.3 2021-04-05 02:22:44 +03:00
arcanis 81afa23d98 update changelog at correct step
also fix commit filter and do not update sha anymore
2021-04-05 02:22:11 +03:00
arcanis 1b979725a3 Release 0.21.2 2021-04-05 02:01:28 +03:00
arcanis c2c7ee6292 add changelog generator to both gh-actions and repository 2021-04-05 02:00:05 +03:00
arcanis a3fe361596 Release 0.21.1 2021-04-05 00:45:12 +03:00
arcanis 20d13f1c10 use globing instead 2021-04-05 00:44:39 +03:00
arcanis 6c96c9e73a Release 0.21.0 2021-04-05 00:38:23 +03:00