1. 12 11月, 2015 1 次提交
    • J
      Add caching for ApplicationSetting, Ci::ApplicationSetting. · 2e4a673c
      Jason Lee 提交于
      ApplicationSetting.current was called in every pages, cache it and expires it after it updated.
      
      This changes will avoid a SQL query in every pages (~0.3 - 0.5ms).
      
      ```SQL
      SELECT  "application_settings".* FROM "application_settings"   ORDER BY "application_settings"."id" DESC LIMIT 1
      ```
      2e4a673c
  2. 06 11月, 2015 1 次提交
  3. 18 10月, 2015 1 次提交
  4. 06 10月, 2015 1 次提交
  5. 18 9月, 2015 1 次提交
  6. 09 9月, 2015 1 次提交
  7. 20 8月, 2015 1 次提交
  8. 03 8月, 2015 1 次提交
  9. 13 6月, 2015 1 次提交
  10. 11 6月, 2015 1 次提交
  11. 05 6月, 2015 1 次提交
  12. 30 5月, 2015 1 次提交
  13. 29 5月, 2015 1 次提交
  14. 04 5月, 2015 1 次提交
  15. 03 5月, 2015 1 次提交
  16. 26 4月, 2015 1 次提交
    • V
      Add new admin settings · bd557e4b
      Vinnie Okada 提交于
      Add new global application settings for default project and snippet
      visibility levels.
      bd557e4b
  17. 11 4月, 2015 1 次提交
  18. 02 4月, 2015 1 次提交
  19. 17 3月, 2015 1 次提交
    • V
      Fix restricted visibility bugs · 2e672c39
      Vinnie Okada 提交于
      Check for nil values in the restricted_visibility_level validation
      method, and set the restricted visibility request parameter to `[]` when
      it's missing from the request.
      2e672c39
  20. 08 3月, 2015 1 次提交
  21. 05 3月, 2015 1 次提交
  22. 13 2月, 2015 1 次提交
  23. 03 2月, 2015 1 次提交
  24. 26 1月, 2015 1 次提交
  25. 23 1月, 2015 1 次提交
  26. 17 1月, 2015 2 次提交
  27. 09 1月, 2015 1 次提交
  28. 08 1月, 2015 1 次提交