1. 05 Jun, 2014 1 commit
  2. 02 Jun, 2014 2 commits
  3. 31 May, 2014 1 commit
  4. 30 May, 2014 1 commit
    • Lukas Fleischer's avatar
      Accept upper case letters in valid_username() · e0186706
      Lukas Fleischer authored
      In commit 0722f46c
      
       (Simplify valid_user() and valid_username(),
      2014-02-06), the conversion to lower case letters was unintentionally
      removed and in consequence, names with upper case letters have been
      rejected since then.
      
      Instead of reintroducing the conversion, add the "i" modifier to the
      regular expression validating the name to do case-insensitive pattern
      matching.
      
      Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      e0186706
  5. 29 May, 2014 2 commits
  6. 27 May, 2014 4 commits
  7. 22 May, 2014 6 commits
  8. 20 May, 2014 3 commits
  9. 18 May, 2014 1 commit
  10. 13 May, 2014 1 commit
  11. 07 May, 2014 3 commits
  12. 06 May, 2014 4 commits
  13. 04 May, 2014 1 commit
  14. 03 May, 2014 1 commit
    • Lukas Fleischer's avatar
      Fix parsing of array overrides · 782e9eb1
      Lukas Fleischer authored
      
      
      If a depends (makedepends, checkdepends, optdepends, conflicts,
      provides, replaces, license, groups, source) line appears in a package
      section, it replaces the corresponding array from the pkgbase section.
      If there is a single "depends = " line in the package section, the
      depends array of that package is considered empty.
      
      This partly reverts the behavior introduced in commit 137a9ae (Fix
      parsing of array overrides, 2014-05-03).
      
      Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      782e9eb1
  15. 01 May, 2014 1 commit
  16. 30 Apr, 2014 1 commit
  17. 28 Apr, 2014 3 commits
  18. 27 Apr, 2014 3 commits
    • Lukas Fleischer's avatar
      Add a version tag to RPC replies · e50f3526
      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: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      e50f3526
    • Lukas Fleischer's avatar
      Add more fields to RPC info replies · eb6cf1fa
      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: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      eb6cf1fa
    • Lukas Fleischer's avatar
      Fix the RPC interface · b384f32f
      Lukas Fleischer authored
      
      
      * Fix the SQL query to conform to the new database layout.
      
      * Remove the license field from replies. The license field is now stored
        in a separate table and no longer returned on search queries.
      
      * Add a "PackageBase" field that contains the name of the package base
        of every package in the result.
      
      * Fix the source tarball URL. The URL is now built based on the package
        base name instead of the package name.
      
      Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      b384f32f
  19. 26 Apr, 2014 1 commit