This project is mirrored from https://:*****@gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring updated .
- 07 Oct, 2019 1 commit
-
-
Lukas Fleischer authored
The TTL for package details can be much longer than for generic values since they never change. Note that when an update is pushed via Git, all packages belonging to that package base are deleted and new packages are created. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 06 Oct, 2019 1 commit
-
-
Lukas Fleischer authored
Cache the results of the extended fields computation if the global caching mechanism is enabled. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 14 Jan, 2019 1 commit
-
-
Signed-off-by:
Florian Pritz <bluewind@xinu.at> Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 24 Feb, 2018 2 commits
-
-
It is now possible to search for packages that depend on a given package, for instance: /rpc/?v=5&type=search&by=depends&arg=ocaml It is similarly possible to match on "makedepends", "checkdepends" and "optdepends". Signed-off-by:
Baptiste Jonglez <git@bitsofnetworks.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
This allows us to prevent users from hammering the API every few seconds to check if any of their packages were updated. Real world users check as often as every 5 or 10 seconds. Signed-off-by:
Florian Pritz <bluewind@xinu.at> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 18 Apr, 2017 1 commit
-
-
Lukas Fleischer authored
Make sure that the get_extended_fields() invocation succeeded before merging regular and extended fields in process_query(). Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 14 Feb, 2017 1 commit
-
-
All error messages in aurjson except two end with a period. Add the missing periods to make the messages consistent. Signed-off-by:
Michael Straube <straubem@gmx.de> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 01 Mar, 2016 1 commit
-
-
Lukas Fleischer authored
The IDs of packages are unique, so there is no need to group search results by package ID. Note that the GROUP BY statement in question was introduced in commit 3447dfcb (Support versioned RPC queries, 2014-04-28) for no apparent reason and could even lead to errors in various DBMS. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 09 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
Expose package base keywords through the RPC interface (version 5). Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 13 Dec, 2015 1 commit
-
-
Lukas Fleischer authored
When performing info or multiinfo queries, one can currently either pass package names or package IDs as parameters. As a consequence, it is impossible to search for packages with a numeric package name because numeric arguments are always treated as IDs. Since package IDs are not public anymore these days, simply remove the possibility to search by ID in revision 5 of the RPC interface. Fixes FS#47324. Suggested-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 24 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 09 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
This parameter is only supported by the search command. We do not need to repeat ourselves. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 04 Oct, 2015 2 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Deprecate the msearch command and add a new search type to the search command. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 03 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
Fixes a regression introduced in 94aeead4 (aurjson: Pass http_data array to all functions, 2015-06-28). Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 26 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
Instead of introducing a new message "You do not have the right to edit this comment." for the RPC interface, use "You are not allowed to edit this comment." which we already show in the front-end. Reported-by:
Christoph Seitz <seitz.christoph@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 25 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 12 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
The callback parameter of the RPC interface currently allows for specifying a prefix of arbitrary length of the returned result. This can be exploited by certain attacks. As a countermeasure, this patch restricts the allowed character set for the callback name to letters, digits, underscores, parenthesis and dots. It also limits the length of the name to 128 characters. Furthermore, the reflected callback name is now always prepended with "/**/", which is a common workaround to protect against attacks such as Rosetta Flash. Fixes FS#46259. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Aug, 2015 1 commit
-
-
Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 08 Aug, 2015 5 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
This method will be used by the JavaScript comment editing and produces a form containing the comment. Signed-off-by:
Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Fixes FS#37317. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
This is a preparatory patch that simplifies adding more arguments to the parse functions Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 04 Jul, 2015 1 commit
-
-
Fixes FS#45537. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Implements FS#45422. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 14 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Remove package base categories. Instead, users can now specify up to twenty custom keywords that are taken into consideration when searching. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
In commit 74edb6fe (Use Git repositories to store packages, 2014-06-06), the URLPath field was dropped from RPC package results. Reintroduce the field for backwards compatibility, even though it is no longer recommended to use snapshot tarballs. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 09 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Do not return packages belonging to hidden package bases in RPC results. Fixes FS#45271. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Dec, 2014 1 commit
-
-
Lukas Fleischer authored
* Remove package submission page from the web interface. * Replace PKGBUILD and tarball links with links to cgit. * Remove the "URLPath" field from RPC replies. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Oct, 2014 1 commit
-
-
Lukas Fleischer authored
Replace web/lib/config.inc.php with an INI-style configuration file. This allows us to get rid of several globals and makes it easier to use the same configuration file in external scripts. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 23 Jul, 2014 1 commit
-
-
Lukas Fleischer authored
Add the typeahead implementation we already use for the package search to the merge target text field. Instead of suggesting packages, suggest package base names. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 25 Jun, 2014 1 commit
-
-
Lukas Fleischer authored
Add RPC v3 which always returns a list of objects in RPC responses, regardless of the request type. An empty list is returned when an error occurs. The error message is moved to a separate "error" field. Fixes FS#40963. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 31 May, 2014 1 commit
-
-
Lukas Fleischer authored
This is useful to tools that automatically generate requests to orphan, delete or merge packages. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 18 May, 2014 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 28 Apr, 2014 3 commits
-
-
Lukas Fleischer authored
Most AUR helpers don't support the new format yet. Use version 1 of the API by default. In order to use the new format, "v=2" can be appended to the list of GET parameters. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This adds a backwards compatibility mode for the old RPC API. The old format can be requested by explicitly adding "v=1" to the list of GET parameters. Note that due to internal changes, the old format only returns the first license that belongs to a package. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
* Fix braces, indentation and comment style. * Remove some superfluous comments. * Reword some comments. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Apr, 2014 2 commits
-
-
Lukas Fleischer authored
This is needed for clients to quickly differentiate between different versions of the RPC API. The version number should be bumped whenever there is a change that breaks backwards compatibility. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This patch adds the following fields to info and multiinfo replies: * Depends * MakeDepends * CheckDepends * OptDepends * Conflicts * Provides * Replaces * Groups * License Each of these fields is an array. Note that since collecting all these fields is CPU-intensive, they are not included in replies to search queries. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-