1. 27 Mar, 2020 1 commit
  2. 13 Feb, 2020 2 commits
  3. 02 Feb, 2020 2 commits
  4. 30 Jan, 2020 4 commits
  5. 23 Nov, 2019 1 commit
  6. 02 Nov, 2019 1 commit
  7. 19 Oct, 2019 1 commit
  8. 09 Oct, 2019 1 commit
  9. 07 Oct, 2019 2 commits
  10. 06 Oct, 2019 2 commits
  11. 05 Oct, 2019 2 commits
  12. 18 Aug, 2019 1 commit
    • Eli Schwartz's avatar
      Move permission for LIST_COMMENTS to dev/tu block · 3ac958ac
      Eli Schwartz authored
      In commit 3578e77a we implemented
      listing of comments from the account details page , but this was
      intended to only be available to TUs and Devs. As the comment says:
      "display the comment list if they're a TU/dev"
      
      The credential checking code, however, set this credential for all
      users, contrary to the intention of the commit.
      
      In order to preserve the ability to list a person's own comments, also
      declare the allowed uids based on the profile being viewed.
      3ac958ac
  13. 30 Jul, 2019 1 commit
  14. 25 May, 2019 1 commit
  15. 24 May, 2019 2 commits
  16. 14 Jan, 2019 1 commit
  17. 26 Oct, 2018 1 commit
  18. 06 Aug, 2018 3 commits
  19. 09 Jul, 2018 1 commit
    • Eli Schwartz's avatar
      Fix regression in translating anything at all · c8d99bac
      Eli Schwartz authored and Lukas Fleischer's avatar Lukas Fleischer committed
      In commit 840ee20f
      
       (Rename translation resources from aur to aurweb,
      2018-07-07) the translations file was renamed but we never actually
      switched to using the renamed translations.
      
      As a result, every single push to the AUR contains the following
      traceback:
      
          remote: Traceback (most recent call last):
          remote:   File "/usr/bin/aurweb-notify", line 11, in <module>
          remote:     load_entry_point('aurweb==4.7.0', 'console_scripts', 'aurweb-notify')()
          remote:   File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 541, in main
          remote:   File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 69, in send
          remote:   File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 56, in get_body_fmt
          remote:   File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 192, in get_body
          remote:   File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/l10n.py", line 14, in translate
          remote:   File "/usr/lib/python3.6/gettext.py", line 514, in translation
          remote:     raise OSError(ENOENT, 'No translation file found for domain', domain)
          remote: FileNotFoundError: [Errno 2] No translation file found for domain: 'aur'
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      c8d99bac
  20. 07 Jul, 2018 1 commit
  21. 12 May, 2018 2 commits
  22. 22 Apr, 2018 1 commit
    • Eli Schwartz's avatar
      config: allow reading both the defaults file and the modified config · 97c5bcec
      Eli Schwartz authored and Lukas Fleischer's avatar Lukas Fleischer committed
      
      
      In the process, rename config.proto to config.defaults (because that is
      what it is now).
      
      Also use dict.get('key', default_value) when querying os.environ, rather
      than an if block, as it is more pythonic/readable/concise, and reduces
      the number of dict lookups.
      
      This change allows aurweb configuration to be done via either:
      - copying config.defaults to config and modifying values
      - creating a new config only containing modified values, next to a
        config.defaults containing unmodified values
      
      The motivation for this change is to enable ansible configuration in our
      flagship deployment by storing only changed values, and deferring to
      config.defaults otherwise.
      
      A side benefit is, it is easier to see what has changed by inspecting
      only the site configuration file.
      
      If a config.defaults file does not exist next to $AUR_CONFIG or in
      $AUR_CONFIG_DEFAULTS, it is ignored and *all* values are expected to
      live in the modified config file.
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      97c5bcec
  23. 21 Mar, 2018 1 commit
  24. 20 Mar, 2018 1 commit
  25. 10 Mar, 2018 2 commits
  26. 24 Feb, 2018 2 commits