Commit Graph

365 Commits

Author SHA1 Message Date
Renée Hendricksen
ddc6a3704e add a test that demonstrates the change to the query on this branch supports the old params and the new v3 namespace params, and add the dirty flag for json column updates 2016-08-23 03:26:01 -04:00
Renée Hendricksen
3585a52ba5 fix the update method 2016-08-23 01:36:10 -04:00
Renée Hendricksen
885ae009f4 fix the reported error on crons 2016-08-04 15:05:20 -04:00
Renée Hendricksen
8655579a94 clean up the debug output 2016-08-03 00:17:11 -04:00
Renée Hendricksen
779b6a569e don't allow one error to stop all crons from running 2016-08-02 23:49:47 -04:00
Renée Hendricksen
abe7b13605 better output 2016-08-02 23:16:00 -04:00
Renée Hendricksen
0dc7e2743c take intentional error out to see real errors 2016-08-02 22:56:13 -04:00
Renée Hendricksen
d42362eacc looks like Raven isn't getting the reports because the dyno doesn't exist long enough for the http request to get out :( 2016-08-02 22:49:02 -04:00
Renée Hendricksen
1788e0c0fb more output for the strange behavior on staging 2016-08-02 22:42:32 -04:00
Renée Hendricksen
20d4df8af3 test output for staging 2016-08-02 22:34:49 -04:00
Renée Hendricksen
6ca063cf3d adding an error to see if I get it from Sentry 2016-08-02 21:26:04 -04:00
Renée Hendricksen
d0a143d76a ensure that the Time.now builds get started and tag the Sentry errors from cron 2016-08-02 19:44:33 -04:00
Ana Rosas
9b5893b07c Remove old code references from v3 endpoints 2016-07-28 15:09:07 +02:00
carlad
9e61d5e636 revert typo 2016-07-27 12:10:39 +02:00
carlad
c112c56664 add typo to test sending of error to sentry on staging 2016-07-27 11:59:36 +02:00
carlad
3a1b1a591f remove comment 2016-07-26 17:53:35 +02:00
carlad
72be42b88f move capture_exception to correct method, update spec 2016-07-26 17:36:02 +02:00
carlad
c00cdbaff7 crons only 2016-07-25 19:30:45 +02:00
carlad
1e04b52f5f change raven syntax 2016-07-25 12:42:16 +02:00
carlad
185067265c remove unnecessary requires, inital work on spec 2016-07-21 17:56:41 +02:00
carlad
27dbe9a75a require sentry, move raven capture 2016-07-21 17:24:36 +02:00
carlad
cafe40a4c3 add sentry capture to v3 router 2016-07-21 17:07:25 +02:00
Renée Hendricksen
48e4a2c589 use travis settings for encrypted columns 2016-07-14 17:47:17 -04:00
Renée Hendricksen
58cd17158c decrypt the public values for return and fix the tests 2016-07-14 17:24:49 -04:00
Renée Hendricksen
35ae19c3a0 Merge branch 'jc-v3-env-vars' into rlh_cleanup3 2016-07-12 17:08:10 -04:00
Renée Hendricksen
8cdbca925b Merge branch 'master' into jc-v3-env-vars 2016-07-12 17:07:51 -04:00
Renée Hendricksen
2783a69f89 encrpted value and working tests 2016-07-12 14:12:46 -04:00
Piotr Sarnacki
14ea592cd7 Upload SSL Key to GitHub when activating private repository 2016-07-12 11:28:35 +02:00
Renée Hendricksen
f8b8ef54a9 Merge branch 'master' into rlh_cleanup3 2016-07-11 15:13:24 -04:00
Renée Hendricksen
3fb7c35286 copy pasta fix 2016-07-07 01:30:35 -04:00
Renée Hendricksen
f63bb1c6a2 if this logic isn't needed we should take it out later 2016-07-07 01:16:39 -04:00
Renée Hendricksen
f1d7305e9d Merge branch 'master' into jc-v3-env-vars 2016-07-07 00:41:00 -04:00
Renée Hendricksen
b94d9c8637 use the new method 2016-07-07 00:31:35 -04:00
Konstantin Haase
f7f6478fa4 indentation 2016-07-06 10:56:14 +02:00
Renée Hendricksen
ac7e610510 Merge branch 'master' into jc-v3-env-vars 2016-07-05 11:44:28 -04:00
Igor Wiedler
d84d3983b8 update rack-attack to 5.0.0.beta1, use safelist/blocklist terminology 2016-07-05 12:58:58 +02:00
Joe Corcoran
f5bc526f25 Refactor repeated pattern into extracted method
Seems like we'll be checking login status before finding a resource
a lot, so here's a standard way to do it.
2016-07-01 23:55:49 -04:00
Joe Corcoran
1a07e199b5 Better style in error handling 2016-07-01 23:55:49 -04:00
Joe Corcoran
91e9fcebf7 Remove some duplication 2016-07-01 23:55:49 -04:00
Joe Corcoran
871b915515 Add env vars endpoints
This adds API V3 endpoints for querying, creating, modifying and
deleting environment variables.

It has no concept of encryption yet and should be considered a work in
progress.

We should also talk about the slightly off-track approach in the
EnvVars::Create service – maybe there's a way to standardise the
querying and rendering for post requests?

2016-07-01 23:55:49 -04:00
Joe Corcoran
77dcdaa482 Use travis-settings to manage JSON settings field
Since we use repository.settings as a kind of dump for all
sorts of settings, some user-facing and some not, this lets us
leave the db as it is, but pretend to have separate models for each
"kind" of setting.
2016-07-01 23:55:49 -04:00
Ana Rosas
69f0a9d33e Add enable_for_all? condition 2016-06-28 11:35:47 -07:00
Ana Rosas
bfb68bf931 Merge branch 'master' into ar-improve-feature-flag 2016-06-23 17:07:36 -05:00
Ana Rosas
69cc2eef7d Check for repository owner instead of current user to validate feature flag 2016-06-23 15:15:31 -05:00
Piotr Sarnacki
32dd8d9f93 Mark current_build as experimental 2016-06-22 14:19:31 +02:00
Piotr Sarnacki
fcb0e7cde4 Rename current_build_id sort option to current_build 2016-06-22 14:19:31 +02:00
Ana Rosas
bf20506e09 Merge branch 'master' into ar-enqueue-cancelling-jobs-builds 2016-06-15 16:15:05 +02:00
Ana Rosas
41c274b222 Remove 'type' from payload 2016-06-15 14:36:59 +02:00
Ana Rosas
5949429f75 Enqueue restart message on job/restart v3 endpoint 2016-06-14 17:39:29 +02:00
Ana Rosas
a2d1322b60 Enqueue cancel message on job/cancel v3 endpoint 2016-06-14 17:24:05 +02:00