Commit Graph

68 Commits

Author SHA1 Message Date
R. Tyler Croy 46b1390648
bundle update to catch sinatra 2.0.1 2018-02-20 14:25:52 -08:00
R. Tyler Croy e8fbbb891d
Ensure we have monkeys.txt copied into the webapp directory before tests
Tests will expect it to be there
2018-01-02 15:16:01 -08:00
R. Tyler Croy c6bffa354d
Refactor administrators a bit
Only a matter of time before some other sucker gets the privilege
2018-01-02 15:06:43 -08:00
R. Tyler Croy dbe240ac4b
Move file accesses into more opaque objects
In the future I expect some of this data to be driven from a database or the
Kubernetes REST API
2018-01-02 15:03:58 -08:00
R. Tyler Croy efd1ecbbdb
Ensure that curl properly fails on bad responses in container-check
Caught my first fat-finger of some code 👏
2018-01-02 15:03:58 -08:00
R. Tyler Croy e1ae017762
Starting to refactor the webapp to be a bit more modular and perhaps testable 2018-01-02 14:11:33 -08:00
R. Tyler Croy b01b105619
Make the validation of the webapp container a bit more useful
This is almost a liveness probe 🔥
2018-01-02 13:15:06 -08:00
R. Tyler Croy 452e81c0d2
Persist sessions using a consistent session secret and memcached
Fixes #79
2017-12-23 14:38:50 -08:00
R. Tyler Croy 018b7a0828
Embed a Jenkins Minute in the home page for a little more interesting stuff
Also fleshing out the doc page a bit more, need to figure out what I'm going to
do there.
2017-12-22 11:34:56 -08:00
R. Tyler Croy e4c744f257
Move the webapp into the codevalet Docker Hub organization 2017-12-21 09:36:54 -08:00
R. Tyler Croy 662861bac1
Switch the webapp to a multi-stage build to reduce size and rebuilds
This should help avoid unnecessary incremental builds locally
2017-12-21 09:30:46 -08:00
R. Tyler Croy a2131dddd8
Add a simple /abuse URl for redirects 2017-12-21 07:41:05 -08:00
R. Tyler Croy a095f5b0ac
Fix the link to the Blue Ocean project 2017-12-19 13:50:25 -08:00
R. Tyler Croy 21f17763fa
Canary lives on its own host silly goose 2017-12-15 07:51:48 -08:00
R. Tyler Croy 9d64ef2775
Link to the new subdomain'ed hosts from the home page 2017-12-11 16:55:38 -08:00
R. Tyler Croy 0e89b71ece
Move user-specific instances to their own subdomains to avoid issues with Let's Encrypt 2017-12-11 16:33:03 -08:00
R. Tyler Croy 384accb3a7
Change the copyright over 2017-11-29 17:39:22 -08:00
R. Tyler Croy 23fefb2d02
Replicate the in-container build of gems/native extensions used in codevalet/canary
This hasn't caused issues yet, but I'm sure it would eventually.
2017-09-03 21:11:11 -07:00
R. Tyler Croy be371665f9
Avoid allocating a tty for the webapp in Jenkins 2017-09-03 18:09:58 -07:00
R. Tyler Croy 3e27558330
Don't attempt to pass invalid options to Puma (oops) 2017-09-03 16:25:45 -07:00
R. Tyler Croy 2027a53444
Switch the webapp to use Puma instead of dumb old WEBrick 2017-09-03 16:22:48 -07:00
R. Tyler Croy 262279197a
Add Canary into the main navbar 2017-09-03 13:21:08 -07:00
R. Tyler Croy 3fca021ea2
Add a dropdown to select from the existing instances 2017-08-28 12:06:19 -07:00
R. Tyler Croy 6664294404
Incorporate Sentry error handling for the webapp tier
This will report into the "Code Valet Webapp" project in Sentry
2017-08-28 07:25:53 -07:00
R. Tyler Croy 4602dc749d
Add the proper badge links now that masters are re-parented under codevalet.io 2017-08-27 11:13:04 -07:00
R. Tyler Croy 12915c0879
Properly handle the right URL for the github authentication 2017-08-27 11:11:59 -07:00
R. Tyler Croy 8260de80b9
Pin to Ruby 2.3 which doesn't have the same problems with Tilt warnings as 2.4
See https://github.com/rtomayko/tilt/issues/316
2017-08-26 14:39:05 -07:00
R. Tyler Croy 0468abd5fa
Forgot to add the doc page to the repo, w00ps! 2017-08-26 00:27:53 -07:00
R. Tyler Croy 7d6676c015
This is about the extent of documentation I feel like writing right now 2017-08-24 21:23:34 -07:00
R. Tyler Croy ad287db18d
Stylize the input field and hook up the form properly for the newsletter 2017-08-20 13:23:27 -07:00
R. Tyler Croy d67e4b3fb8
Correct the path to the favicon 2017-08-20 13:10:47 -07:00
lavaliere f70051220d attempted to add a favicon 2017-08-20 13:03:38 -07:00
lavaliere 9174651eef fixed bo link, added newsletter form 2017-08-20 12:27:59 -07:00
R. Tyler Croy 4364d4be9e
Persist a cookie temporarily to bounce an admin into the right instance with github oauth
If it seems janky, it's because it is! 🔥
2017-08-20 10:41:52 -07:00
R. Tyler Croy d171ecd406
Add support for administrators to authenticate into user Jenkins instances
And by administrators, I mean me.
2017-08-20 10:23:28 -07:00
R. Tyler Croy b80b5e81c4
Add some Google Analytics for @lavaliere to look at 2017-08-20 10:21:57 -07:00
R. Tyler Croy 2996d1744f
Don't bother redirecting back to /profile from the home page for logged in users 2017-08-20 10:11:38 -07:00
R. Tyler Croy e18febcfba
Add nice little twitter and github icons for BRAND ENGAGEMENT
Man, I wish I could engage with brands more
2017-08-20 09:57:09 -07:00
R. Tyler Croy 0f1f80726d Merge pull request #7 from lavaliere/master
Better codevalet.io text
2017-08-19 18:00:39 -07:00
lavaliere ec14e51132 better codevalet.io text 2017-08-19 17:58:13 -07:00
R. Tyler Croy 5248dd1f0a
Add a link to our github organization from each page 2017-08-19 16:26:03 -07:00
R. Tyler Croy e4db7b06e2
Fix a stupid HAML bug 2017-08-19 15:29:04 -07:00
R. Tyler Croy dd1cc628f5
Add a more fleshed out homepage 2017-08-19 13:36:37 -07:00
R. Tyler Croy dd2082f041
Add a redirect template
Currently unused, but might be helpful later on
2017-08-19 09:00:11 -07:00
R. Tyler Croy 03ad414bad
Modify the OAuth scopes to limit to public repositories only 2017-08-01 19:04:38 -07:00
R. Tyler Croy a6747a3de6
Add some explanation for those who don't have a master 2017-07-27 16:53:19 -07:00
R. Tyler Croy bdbc095a1e
Only link to the Jenkins if the user is supposed to have a Jenkins 2017-07-27 16:46:05 -07:00
R. Tyler Croy dae63142b7
With the profile page, a listing on the home page is no longer necessary 2017-07-23 17:42:50 -07:00
R. Tyler Croy 27fe5e70ba
Ignore copied files in the webapp dir 2017-07-23 17:42:22 -07:00
R. Tyler Croy 28c402a639
Add a profile page to make navigating in and out of Jenkins easier
The OAuth Matryoshka process is unfortunately too error prone :-/
2017-07-23 17:41:35 -07:00