Граф коммитов

1407 Коммитов

Автор SHA1 Сообщение Дата
Andrew Nesbitt ad92abebb1
Install Octobox as a GitHub App (#806)
* Lock pg gem to 1.0.0

1.1.0 and 1.1.1 are broken on alpine linux

* Install Octobox as a GitHub App
2018-08-28 12:36:03 +01:00
Andrew Nesbitt 1fcf354d23 Lock pg gem to 1.0.0
1.1.0 and 1.1.1 are broken on alpine linux
2018-08-28 10:35:28 +01:00
Andrew Nesbitt 5494054ae7
Revert "Bump pg from 1.0.0 to 1.1.0" (#840)
* Revert "Bump et-orbi from 1.1.4 to 1.1.5 (#838)"

This reverts commit 3b2c9852bc.

* Revert "Bump pg from 1.0.0 to 1.1.0 (#837)"

This reverts commit c1bdc01e92.
2018-08-26 17:06:57 +01:00
dependabot[bot] 3b2c9852bc Bump et-orbi from 1.1.4 to 1.1.5 (#838)
Bumps [et-orbi](https://github.com/floraison/et-orbi) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/floraison/et-orbi/releases)
- [Changelog](https://github.com/floraison/et-orbi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/floraison/et-orbi/compare/v1.1.4...v1.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-25 09:10:04 +01:00
dependabot[bot] c1bdc01e92 Bump pg from 1.0.0 to 1.1.0 (#837)
Bumps [pg](https://bitbucket.org/ged/ruby-pg) from 1.0.0 to 1.1.0.
- [Changelog](https://bitbucket.org/ged/ruby-pg/src/master/History.rdoc)
- [Commits](https://bitbucket.org/ged/ruby-pg/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-24 22:54:51 +01:00
Andrew Nesbitt 1b077e71b0 Add test for SyncAllUserNotificationsWorker 2018-08-24 16:09:31 +01:00
Andrew Nesbitt 8269f4e4c6 More admin tests 2018-08-24 16:02:08 +01:00
Andrew Nesbitt 9431a08611 Admin controller test 2018-08-24 15:52:54 +01:00
Andrew Nesbitt 1539240c07 Remove tests of a branch that hasn't been merged yet 2018-08-24 15:49:08 +01:00
Andrew Nesbitt 2d36855516 Add repository tests 2018-08-24 15:40:47 +01:00
Andrew Nesbitt a4f4a6667b Simplify an inverted condition in helper method 2018-08-24 15:40:31 +01:00
Andrew Nesbitt 90bf2bd9cc Fix ambiguous column error when filtering by unlabelled and assignee 2018-08-24 12:08:12 +01:00
Andrew Nesbitt de2eca004d Shorten units for human numbers in admin 2018-08-23 10:58:06 +01:00
Andrew Nesbitt a9247b06a7
Respect github_domain config when linking to notification settings (#832) 2018-08-23 10:32:29 +01:00
Andrew Nesbitt 82342118fc
Basic admin page (#833)
Closes #784
2018-08-23 10:32:02 +01:00
Andrew Nesbitt 5fd0d64400 Avoid using fetch_subject config method directly in views 2018-08-22 14:57:26 +01:00
Andrew Nesbitt 7bd2bb256b Add label scope to Subject 2018-08-22 14:48:23 +01:00
Andrew Nesbitt 310d799683 Simpler relationship between repositories and subjects 2018-08-22 14:36:07 +01:00
Andrew Nesbitt ea3c9a60ed Add spacing between icon and text on login button 2018-08-22 14:25:38 +01:00
dependabot[bot] 6efcadf8f4 Bump autoprefixer-rails from 9.1.2 to 9.1.3 (#830)
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases)
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/autoprefixer-rails/compare/9.1.2...9.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-22 09:32:01 +01:00
Andrew Nesbitt c070aa61e9 Fix sync keyboard shortcut and animation
Fixes #829
2018-08-22 09:29:33 +01:00
Andrew Nesbitt 54ef6545e0 Dark outline buttons should have white icons on focus as well 2018-08-21 22:02:21 +01:00
Andrew Nesbitt f438c79299 Fix z-index of navbar dropdown 2018-08-21 17:55:33 +01:00
Andrew Nesbitt fa57bc1199
Use git-merge icon for merged pull requests to match GitHub.com behavior (#827) 2018-08-21 17:47:39 +01:00
Andrew Nesbitt 29fb213691
Mark notifications as read when archiving (#826)
Fixes #824
2018-08-21 16:24:17 +01:00
Andrew Nesbitt 9c18066988
Delete removed labels from subjects when syncing (#825)
Fixes #808
2018-08-21 16:23:52 +01:00
Andrew Nesbitt 0ed1b2e7ff Document runtime-dyno-metadata setting in heroku setup
Closes #795
2018-08-21 11:59:33 +01:00
Andrew Nesbitt c7f4088577 Fixed misspellings of 'notification' 2018-08-21 11:47:14 +01:00
Andrew Nesbitt d3b901fb18 Add missing documentation header 2018-08-21 11:45:37 +01:00
Andrew Nesbitt b2eaed4850 Make the mute selected button available on archive view 2018-08-21 11:31:54 +01:00
Andrew Nesbitt b4f6612569
Pin the filter/action bar to the top of the notifications table (#821)
Fixes #817
2018-08-21 10:55:45 +01:00
Andrew Nesbitt 9482c2ded9
Don't try to download subjects unless they are one of the four supported types (#819) 2018-08-21 08:01:07 +01:00
dependabot[bot] 7c8eb19e1c Bump turbolinks from 5.1.1 to 5.2.0 (#822)
Bumps [turbolinks](https://github.com/turbolinks/turbolinks) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/turbolinks/turbolinks/releases)
- [Changelog](https://github.com/turbolinks/turbolinks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/turbolinks/turbolinks/compare/v5.1.1...v5.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-20 17:26:30 +01:00
Andrew Nesbitt eab1f73e65 More consistent styles for filter bar buttons 2018-08-20 17:09:32 +01:00
Andrew Nesbitt 28e24c9ac0 Gracefully handle deleted notifications
Security notifications seem to get automatically deleted by GitHub 
sometimes
2018-08-19 20:13:54 +01:00
Andrew Nesbitt 1a0db2f5c1
Enable pg_stat_statements postgres extension (#807)
https://www.postgresql.org/docs/current/static/pgstatstatements.html
2018-08-19 20:13:37 +01:00
Andrew Nesbitt 457e6b1d44
Gracefully handle rate limit related errors (#810)
Fixes #458
2018-08-19 20:13:30 +01:00
dependabot[bot] 576d401702 Bump autoprefixer-rails from 9.1.1 to 9.1.2 (#815)
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases)
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/autoprefixer-rails/compare/9.1.1...9.1.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-19 20:07:25 +01:00
Andrew Nesbitt cf113e0cab Fix updating of existing repository records
Fixes #809
2018-08-18 08:31:00 +01:00
Andrew Nesbitt 9fd6c51beb Make initial sync of javascript more resilient to javascript load order 2018-08-17 16:34:41 +01:00
Andrew Nesbitt f538476b56
Add a link to see newer commits on master since your last octobox deploy (#805)
Related to #795
2018-08-17 14:30:48 +01:00
Andrew Nesbitt 3074820126
Repo visibility filter (#783)
* Sync repository visibility along with subjects

* Fixed some tests

* Reject nil repository records

* More test stubbing when FETCH_SUBJECT=true

* Fix annoying greedy webmock stub

* Add visibility filter (public/private)

* Fix is_private filter

* Add private:true search prefix

* Handle @visibility being nil
2018-08-17 13:19:09 +01:00
Andrew Nesbitt 692352147c Add rake task to sync repositories 2018-08-17 13:08:19 +01:00
Andrew Nesbitt 1e009e4084
Don't block page load whilst loading and parsing javascript (#804) 2018-08-17 12:51:43 +01:00
Andrew Nesbitt 844843fb4f
Sync repository visibility along with subjects (#781)
* Sync repository visibility along with subjects

* Fixed some tests

* Reject nil repository records

* More test stubbing when FETCH_SUBJECT=true

* Fix annoying greedy webmock stub
2018-08-17 12:51:28 +01:00
Andrew Nesbitt be4ac554fb Specify height as well as width on current user avatar 2018-08-17 12:21:04 +01:00
Andrew Nesbitt 5a61a7400c Add rel="noopener" to all links that have target='_blank'
https://mathiasbynens.github.io/rel-noopener/
2018-08-17 12:10:39 +01:00
Andrew Nesbitt de28978628 Preconnect to api.github.com to speed up badge requests on homepage 2018-08-17 11:55:35 +01:00
Andrew Nesbitt d0cf46ab2f Only call google analytics pageview if it's enabled 2018-08-17 11:54:48 +01:00
Andrew Nesbitt 41a99714ab Add some accessibility titles to unclear page elements 2018-08-17 11:54:17 +01:00