Commit Graph
100 Commits
Author SHA1 Message Date
arcanis f54a2fe740 Release 1.7.0 2021-12-26 02:01:09 +03:00
arcanis d1f990eac8 make mypy happy 2021-12-26 01:58:55 +03:00
arcanis 1e85c1db70 handle dependencies recursively 2021-12-22 19:35:09 +03:00
arcanisandGitHub 32aaa4a1f8 initial implementation of the local git clones (#48) 2021-12-22 15:56:24 +03:00
arcanis a9e20f0958 do not read aur_url from settings, use repository property instead 2021-11-15 11:27:41 +03:00
arcanis 32b129a806 Release 1.6.4 2021-11-10 21:29:45 +03:00
arcanisandGitHub 2752e68ade handle packages which have been removed from the repository (#45)
* handle packages which have been removed from the repository

* manually remove packages which have been removed from the base
2021-11-10 01:37:25 +03:00
arcanis 5b678149dc Release 1.6.3 2021-11-04 21:32:27 +03:00
arcanis 79e1cff421 take python laziness into account 2021-11-04 21:30:34 +03:00
arcanis 2e07de4a12 Release 1.6.2 2021-10-28 03:20:52 +03:00
arcanis 7e3ef889e8 improve configuration extension
* Allow spaces in lists. This feature has been done in the way as shell
  interprets arguments by using quotation marks
* Clear current content on reload
2021-10-28 03:19:50 +03:00
arcanis 52b54a9d05 add nginx configuration to the faq 2021-10-27 03:35:33 +03:00
arcanis c0f7f81050 Release 1.6.1 2021-10-27 03:16:53 +03:00
arcanis 38af344bde update license headers 2021-10-27 03:14:39 +03:00
arcanis 62496478ae add update printer which will print current version if any 2021-10-27 03:11:43 +03:00
arcanis ce48169aad use PackageSource enum for Package.load method
When using add function it sill tries to load data with invalid source
2021-10-27 02:49:23 +03:00
arcanis 21845bc934 Release 1.6.0 2021-10-27 01:59:36 +03:00
arcanis 249003de0a drop no-quiet option and change tree_create message error to warn 2021-10-27 01:57:54 +03:00
arcanis d8704e9c75 remove help sample from readme because it changes faster than om able to maintain it 2021-10-26 04:53:45 +03:00
arcanis 0a8b172e9c unify aur.search method
due to specific of the AUR API in order to reduce the code we are using
own wrapper and work with it instead of direct library calls
2021-10-26 04:49:55 +03:00
arcanis 7d782f120d Add ability to show more info in search and status subcommands
This feature also introduces the followiing changes
* aur-search command now works as expected with multiterms
* printer classes for managing of data print
* --sort-by argument for aur-search subcommand instead of using package
  name
* --quiet argument now has also --no-quite option
* if --quite is supplied, the log level will be set to warn instead of
  critical to be able to see error messages
* pretty_datetime function now also supports datetime objects
* BuildStatus is now pure dataclass
2021-10-26 04:27:36 +03:00
arcanis 9057ecf67a always update environnment before any action 2021-10-24 04:14:57 +03:00
arcanis 35df354c14 split application class into traits 2021-10-23 13:44:57 +03:00
arcanis 4d4e5e9dde add patches to clean command 2021-10-20 03:22:16 +03:00
arcanis ff24188ca1 add ability to download package from external links (e.g. HTTP) 2021-10-20 03:09:58 +03:00
arcanis 9d4f85624d add ability to read argument list from file 2021-10-20 02:15:59 +03:00
arcanis 295f810222 logger improvements
* remove build log since it has no usages actually (replaced by root
  logger)
* decrease boto3 log levels to INFO by default to reduce noice
2021-10-20 02:12:49 +03:00
arcanis d8523bd83b always return json in responses 2021-10-20 02:12:39 +03:00
arcanis be017ed102 Release 1.5.0 2021-10-18 03:48:24 +03:00
arcanis c73f24f8c6 minor architecture description update 2021-10-18 03:35:39 +03:00
arcanis 0d806e3471 add repo-status-update subcommand 2021-10-17 06:38:49 +03:00
arcanis 20962f0385 allow to use multiple upload and report targets with the same name
In this feature target option must allways point to section name instead
of type. Type will be read from type option. In case if type option is
not presented it will try to check if section with architecture exists
(e.g. target = email, section = email:x86_64); if it does, the correct
section name and type will be used. Otherwise it will check if the
specified section exists; if it does, seection name and type will be
returned.
2021-10-17 06:06:08 +03:00
arcanis fd38dfd176 split github upload into generic http method and github specific
We might use some features from the http upload for another parser
2021-10-15 23:36:26 +03:00
arcanis 5f7f58041d docs update 2021-10-15 04:55:46 +03:00
arcanis 233b1f7f39 disallow to create tree in case of unsafe run 2021-10-14 04:53:09 +03:00
arcanis a83f1d5aa5 use generic removal method 2021-10-14 04:08:21 +03:00
arcanis be09c04e78 change method spelling
in order to sort method correctly we are going to use the following
namiing schema:

{subject}_{action}_{details}

This schema still have some exceptions, e.g. single word methods, bool
methods (is_) and getters in case if they are singular (i.e. there is
no any other method with this subject)
2021-10-14 04:01:54 +03:00
arcanis bfbbb987ad add test for every file 2021-10-14 03:34:12 +03:00
arcanis 04f365f1a6 aggressive small case 2021-10-14 03:13:15 +03:00
arcanis 86bd49ed1b exactly one called with instead of last call check 2021-10-14 03:12:45 +03:00
arcanisandGitHub f6ad609616 github upload support (#41) 2021-10-14 02:30:13 +03:00
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