Commit Graph

480 Commits

Author SHA1 Message Date
arcanis 42c13b5d4b Release 2.5.4 2.5.4 2023-01-03 01:59:25 +02:00
arcanis 04e5a263b7 add notes about documentation and methods inside class
Because I always forget which way I used before
2023-01-03 01:53:10 +02:00
arcanis caca1576c8 Correct way to allow setting context with existing
This reverts commit 5c4d3eeffd.

Original solution has introduced special workaround (strict flag) which
contradicts the concept of immutable context. Moreover, it introduces
possible side-effects, because child process will use the one set by
parent instead of having own one.

The correct solution is to re-create context in process entry point

Sorry, it was Jan 1 and I was drunk :(
2023-01-03 00:48:14 +02:00
arcanis 98f2f19d5b Release 2.5.3 2.5.3 2023-01-02 03:24:11 +02:00
arcanis 5c4d3eeffd allow setting context with existing
In case of running command from web interface, it will raise exception
because context has been copied with subprocesses
2023-01-02 03:21:15 +02:00
arcanis 84d4523e85 Release 2.5.2 2.5.2 2023-01-02 01:57:09 +02:00
arcanis 2c2eae2334 remote all gitfiles in git remote trigger
In case if there is .gitignore file with asterics, the pkgbuild upload
would not appear
2023-01-02 01:45:50 +02:00
arcanis 214d6d7fdd Release 2.5.1 2.5.1 2022-12-31 14:58:37 +02:00
arcanis e9512e9a6a remote log for calculate version as it cleans logs 2022-12-31 14:48:21 +02:00
arcanis f984ea75d0 fully lazy handle load
In case of immediate handle load it would try to sync databases (or at
least to create database files), which is not possible in case if
command is run as non-ahriman user. This commit makes handle load lazy
and allows to run some commands as non-ahriman user
2022-12-31 14:48:21 +02:00
arcanis b44e5c3a3d Release 2.5.0 2.5.0 2022-12-31 02:02:37 +02:00
arcanis 1891d6c944 force upgrade sphinx documentation 2022-12-30 22:58:13 +02:00
arcanis 08d68258ca add completion files generated by shtab 2022-12-30 21:19:23 +02:00
arcanis cd3d12a754 allow 3 symbols for package search 2022-12-30 21:19:23 +02:00
arcanis 81d9526054 improve VCS packages checks
* Unlike older version, currently service will always try to pull AUR
  package to check version. Previously if no-vcs flag is set, it would
  ignore VCS packages completelly
* Introduce build.vcs_allowed_age option. If set, it will skip version
  calculation if package age (now - build_date) is less than this value
2022-12-30 21:19:23 +02:00
arcanis c7447f19f0 change another boolean info option to boolean action 2022-12-29 03:15:48 +02:00
arcanis 7de94a8daa add repo-structure subcommand
This commit also changes Tree class, replacing load method by resolve
2022-12-27 10:35:03 +02:00
arcanis aa1a59d0a3 fix property description in docs 2022-12-26 02:32:14 +02:00
arcanis 8864855c14 write patches via gitremote push trigger (#79)
* write patches via gitremote push trigger

* implement context variables intead of custom database class
2022-12-25 02:10:38 +03:00
arcanis b0b37e8169 Release 2.4.1 2.4.1 2022-12-11 05:17:10 +02:00
arcanis 7df4adfc9d replace alert bodals with toasts 2022-12-09 11:33:19 +02:00
arcanis 2d5b73c6dc remove badges from status page 2022-12-09 00:58:03 +02:00
arcanis 1c8aed4a97 check that package has been created during setup workflow 2022-12-06 11:09:56 +02:00
arcanis 2e059023f3 Release 2.4.0 2.4.0 2022-12-05 00:25:53 +02:00
arcanis da5d97788a do not update database via pacman, use ahriman's own databses 2022-12-04 23:45:10 +02:00
arcanis 0e839fbbf2 Some minor documentation related fixes
* Improve some wording (again)
* Change default type for refresh option to False (does not affect
  behavior)
* Update docstrings to reflect last changes
* Configuration.__convert_path has been replaced by shlex
* aiosecurity functions support kwargs now
2022-12-04 02:10:46 +02:00
arcanis 262462d3c3 improve wording in documentation 2022-12-02 15:45:01 +02:00
arcanis 7aa91f9e2e do not trigger update on sign command 2022-12-02 01:41:23 +02:00
arcanis 01eda513cf improve setup command by --makeflags-jobs argument and fix repository sign on creation 2022-12-02 01:41:23 +02:00
arcanis 0161617e36 implement support of unix socket for server
This feature can be used for unauthorized access to apis - e.g. for
reporting service if it is run on the same machine. Since now it becomes
recommended way for the interprocess communication, thus some options
(e.g. creating user with as-service flag) are no longer available now
2022-12-02 01:41:23 +02:00
arcanis 4811dec759 do not invoke configuration write in case if no salt or user was written 2022-12-02 01:41:23 +02:00
arcanis 09623c20d5 add rebuild implementation to interface 2022-12-02 01:41:23 +02:00
arcanis eba247b759 make package actions as dropdown 2022-12-02 01:41:23 +02:00
arcanis 5073c80af1 add key-import button to interface 2022-12-02 01:41:23 +02:00
arcanis 766081d212 add demos links 2022-11-24 02:38:33 +02:00
arcanis 896cd0bd71 add security notes 2022-11-24 02:38:33 +02:00
arcanis ce1bd2f2db add curl examples to web views 2022-11-24 02:38:33 +02:00
arcanis 6ba96d838d build docs together with web views 2022-11-24 02:38:33 +02:00
arcanis df9e03f495 change respone for service requests 2022-11-24 02:38:33 +02:00
arcanis 89944eb2b6 add fallback for copying to clipboard 2022-11-24 02:38:33 +02:00
arcanis 336784519b add show/hide password button 2022-11-24 02:38:33 +02:00
arcanis f3341ec7cd update web preview picture 2022-11-24 02:38:33 +02:00
arcanis d36e851a29 render httpunauthorized as html in plain http requests 2022-11-22 23:40:27 +02:00
arcanis 28bd5f2095 allow scrolling with fixed copy button position 2022-11-22 22:20:21 +02:00
arcanis 011b4e2e31 change logging module imports 2022-11-22 22:20:21 +02:00
arcanis 15609ba044 change wording for package actions 2022-11-22 15:46:49 +02:00
arcanis 6d4f9981f7 fix login and logout buttons decorations 2022-11-22 11:17:59 +02:00
arcanis bbb97d1cdd add more notes about docker 2022-11-22 10:49:46 +02:00
arcanis 3bca780bdd check log record in handler instead of client 2022-11-22 02:30:37 +02:00
arcanis 78e6b48c24 ask users to repeat password
In case if password is asked via getpass, it is possible to make typo
and user will not see the mistake. In order to avoid it, additional
confirmation has been added
2022-11-22 02:19:37 +02:00