1. 26 Feb, 2019 1 commit
  2. 12 Feb, 2019 1 commit
  3. 04 Feb, 2019 6 commits
  4. 27 Jan, 2019 2 commits
  5. 23 Jan, 2019 1 commit
    • Luna's avatar
      audit_log_actions: add object.py · 85cddf3f
      Luna authored
      this adds the api.common.fetch module. it has getters for files and
      shortens. simplifies the life of the now-removed generic_namefetch
      in the blueprint.
      
       - admin.object: use ObjectEditCtx and ObjectDeleteCtx
       - admin.object: remove generic_namefetch
       - admin.object: ensure object exists when deleting
       - tests.mock: add MockAuditLog.push
      85cddf3f
  6. 21 Jan, 2019 2 commits
    • Luna's avatar
      run, tests.conftest: mock out AuditLog · b0193e6d
      Luna authored
      This removes the possibility of any audit log emails happening
      while we are running the tests.
      b0193e6d
    • Luna's avatar
      tests: simplify fixtures via conftest.py · 5d58b2fe
      Luna authored
      we were copying the same code for fixtures on all tests. copypasting
      the same snippet over and over is bad practice. pytest allows
      conftest.py to define our own fixtures that will be "global" in the test
      suite.
      5d58b2fe
  7. 23 Dec, 2018 2 commits
  8. 07 Dec, 2018 1 commit
  9. 26 Nov, 2018 1 commit
  10. 06 Sep, 2018 1 commit
  11. 31 Aug, 2018 1 commit
  12. 26 Aug, 2018 1 commit
  13. 03 Aug, 2018 1 commit
    • Luna's avatar
      api.admin: add domain owner email sending · 78fea1bd
      Luna authored
      (POST /api/admin/email_domain/<domain_id:int>)
      
       - api.admin: simplify the "if field is not None" pattern with a
          function on modify_user
      
       - api.common.email: pass subject and body through fmt_email on
          send_email
       - api.schema: add ADMIN_SEND_DOMAIN_EMAIL
       - tests.test_admin: add test_user_patch
      78fea1bd
  14. 02 Aug, 2018 1 commit
  15. 30 Jul, 2018 2 commits
    • Luna's avatar
      api.personal_stats: add GET /api/stats/my_domains · 64513415
      Luna authored
       - tests.test_admin: change from info.owner_id to info.user.user_id
      64513415
    • Luna's avatar
      api.admin: add domain ownership · 30a77f15
      Luna authored
      This uses a new table, 'domain_onwers' to store ownership information.
      
       - README: add instructions for domain ownership setup in tests
       - api.schema: add ADMIN_MODIFY_DOMAIN
       - api.admin: add PATCH /api/admin/domains/<domain_id>
       - api.admin: add PUT /api/admin/domains/<domain_id>/owner
       - api.admin: give permissions field on _get_domain_info
       - api.admin: give owner information on _get_domain_info
       - api.schema: add snowflake type
      30a77f15
  16. 29 Jul, 2018 1 commit
  17. 26 Jul, 2018 1 commit
  18. 22 Jul, 2018 1 commit
    • Luna's avatar
      tests: add profile change testing · 6f50e4a2
      Luna authored
       - api.profile: use COUNT(*) instead of len(shortens_used)
       - requirements: add pytest-cov
       - tests: add snowflake testing
       - tests.test_profile: decrease amount of random tokens on
          test_profile_wrong_token
      6f50e4a2
  19. 20 Jul, 2018 1 commit
  20. 27 Jun, 2018 1 commit
    • Luna's avatar
      api: add misc blueprint · 65427f08
      Luna authored
      misc for the hello and feature routes, since they don't fall under
      any existing blueprint, and adding them under the run script
      sounds desorganized.
      65427f08
  21. 13 Jun, 2018 1 commit
    • Luna's avatar
      api.auth: fix REVOKE_SCHEMA · a813ba54
      Luna authored
       - tests: add test_revoke to auth tests
       - api.auth: use pwd_hash
       - common.webhooks: move jpeg_toobig_webhook, scan_webhook to there
      a813ba54
  22. 10 Jun, 2018 1 commit
  23. 06 Jun, 2018 1 commit
  24. 30 May, 2018 1 commit
  25. 29 May, 2018 1 commit
  26. 27 May, 2018 1 commit
  27. 19 May, 2018 5 commits