Commit graph

1068 commits

Author SHA1 Message Date
Brad Rydzewski
95aa714616 Merge remote-tracking branch 'origin/exp' into exp 2014-10-05 22:25:13 -07:00
Brad Rydzewski
0f36aaa463 fixed permission insert to use upsert for improved sync 2014-10-05 19:57:33 -07:00
Kirill Zaitsev
9b706b1534 Post login form to GetLogin handler 2014-10-06 02:38:52 +04:00
Brad Rydzewski
e4219a3aac Merge remote-tracking branch 'origin/exp' into exp 2014-10-05 15:31:13 -07:00
Brad Rydzewski
d6e81193f5 added loading buttons 2014-10-05 15:30:50 -07:00
Brad Rydzewski
19b8578200 Merge pull request #506 from Bugagazavr/exp-fix_hooks
Fix hooks
2014-10-02 08:35:18 -07:00
Kirill Zaitsev
d1f8486862 Fix fetch commits in repo page 2014-10-02 18:24:46 +04:00
Kirill Zaitsev
3d8e04c04f Use :host instead :hook, host is required by hook handler 2014-10-02 18:22:42 +04:00
Brad Rydzewski
61c8811847 updated docs for using custom driver 2014-10-01 11:58:27 -07:00
Brad Rydzewski
e725abe204 hooked up commit feed for user dashboard 2014-10-01 11:29:23 -07:00
Brad Rydzewski
5431b8c84b added test for capabilities 2014-10-01 10:09:13 -07:00
Brad Rydzewski
37a5332951 fixed loop on custom map 2014-10-01 09:58:17 -07:00
Brad Rydzewski
a61c19dddc added missing capability item to context to prevent login panic 2014-10-01 09:41:57 -07:00
Brad Rydzewski
6b721f5b98 added unit tests for postgres and mysql 2014-09-30 23:30:42 -07:00
Brad Rydzewski
892703b3f2 fixed go vet issues 2014-09-30 21:44:15 -07:00
Brad Rydzewski
80f7523e9b hooked up custom docker instances from config file 2014-09-30 21:35:30 -07:00
Brad Rydzewski
0be010bb49 storing token in localStorage 2014-09-30 01:05:01 -07:00
Brad Rydzewski
5f950d21c4 hooked up jwt token in angular 2014-09-30 00:43:50 -07:00
Brad Rydzewski
58f287a541 added worker handlers 2014-09-29 21:34:30 -07:00
Brad Rydzewski
99fef2b4ea initial work to get websocket handlers working 2014-09-28 23:18:52 -07:00
Brad Rydzewski
565277bd00 more work on worker integration 2014-09-28 20:21:02 -07:00
Brad Rydzewski
ce052eaaf4 refactored migrate into package one level up 2014-09-28 20:20:35 -07:00
Brad Rydzewski
e5cc46b4dd updated client routes 2014-09-28 18:38:21 -07:00
Brad Rydzewski
21f9aec808 added new handlers and workers 2014-09-28 18:36:24 -07:00
Brad Rydzewski
8993a71df2 added perm logic 2014-09-27 19:11:28 -07:00
Brad Rydzewski
35073c4776 moved sql-based Blobstore to the database package 2014-09-27 13:32:54 -07:00
Brad Rydzewski
d9db7b9a8d added commit and perm unit tests 2014-09-27 13:09:55 -07:00
Brad Rydzewski
ae95232419 ability to drive database test connections from env variables 2014-09-27 12:00:58 -07:00
Brad Rydzewski
d36f82784c added tests for repositories 2014-09-26 00:39:07 -07:00
Brad Rydzewski
54caa88281 moved from datasql to datastore, added unit test for users 2014-09-26 00:10:48 -07:00
Brad Rydzewski
557c730b52 refactoring to use datastore 2014-09-25 01:07:40 -07:00
Brad Rydzewski
ed0024efa1 added blobstore and capability packages 2014-09-24 21:46:09 -07:00
Brad Rydzewski
9a3f33b9c3 removed remote & server database func now that we are using conf files 2014-09-24 21:45:30 -07:00
Brad Rydzewski
3b59f80f98 removed setup page, now redirects to setup instructions (@ readthedocs) 2014-09-24 21:24:52 -07:00
Brad Rydzewski
7a737a5fbb removed un-necessary config database code now that it is file-driven 2014-09-23 20:48:05 -07:00
Brad Rydzewski
97b3b96790 removed ping method that was for testing only 2014-09-23 20:47:27 -07:00
Brad Rydzewski
6f3997f4e1 moved IRC and Webhooks to their own packages
updated email template to include link to build
updated readme to include correct badge
2014-09-09 23:19:04 -07:00
Bugagazavr
39277caac6 Use cdnjs.cloudflare instead yui.yahooapis 2014-09-08 19:31:57 +04:00
Brad Rydzewski
eabe5415bd Merge pull request #449 from Bugagazavr/exp-frontend-enchantments
Rebuild button and fix commit info for bitbucket
2014-09-07 15:34:55 -07:00
Kirill Zaitsev
071fe67af7 Added missing strong 2014-09-08 02:20:21 +04:00
Kirill Zaitsev
4b07aedf67 Add ability to rebuild commit 2014-09-08 02:20:19 +04:00
Brad Rydzewski
55d9dbedcb ability to provide Docker URL endpoints 2014-09-07 14:55:37 -07:00
Brad Rydzewski
34698d9aed Merge pull request #447 from Bugagazavr/exp-commit-info
Clickable commit information
2014-09-07 13:45:41 -07:00
Kirill Zaitsev
9473db2b38 Clickable commit information 2014-09-07 23:31:41 +04:00
Brad Rydzewski
746eea068f cleanup the angular filters 2014-09-07 12:20:53 -07:00
Brad Rydzewski
96e660381f ability to update a repo's public / private key via the REST API 2014-09-06 12:45:27 -07:00
Brad Rydzewski
2448c34c6b added default 1 hour default timeout for projects 2014-09-06 11:10:00 -07:00
Brad Rydzewski
446fb04d49 added registration.open to the configuration 2014-09-04 20:53:32 -07:00
Brad Rydzewski
7305db0c11 re-added priveleged mode to the UI 2014-09-04 20:09:31 -07:00
Brad Rydzewski
eddc11130a added POST handler for gitlab login 2014-09-03 01:12:03 -07:00
Brad Rydzewski
b209355ca5 added gitlab login 2014-09-03 00:43:36 -07:00
Brad Rydzewski
ca3d15bca2 refactored how remotes work and how (some) config is loaded 2014-09-03 00:23:36 -07:00
Brad Rydzewski
38379992bf refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
Brad Rydzewski
71dfaa40fb for now, always load from cache on login. Improve logic later 2014-08-31 10:18:09 -07:00
Brad Rydzewski
5a8693e444 updated styles and removed hard lines from commit sections 2014-08-18 23:30:43 -07:00
Brad Rydzewski
056f7e5bc8 adjusted line-height on output, more readable 2014-08-17 23:34:05 -07:00
Brad Rydzewski
255e87c78e fixed filters to display PR section 2014-08-17 23:26:29 -07:00
Brad Rydzewski
920e072e91 added section solely for pull requests 2014-08-17 20:33:14 -07:00
Brad Rydzewski
906ac9e6b9 remove login link from the login page, for UX reasons 2014-08-16 14:04:26 -07:00
Brad Rydzewski
2c15873f37 modified code to redirect user to the login screen on 401 2014-08-16 13:52:33 -07:00
Brad Rydzewski
275e7a3e3d inject private params in PR if private 2014-08-14 23:00:52 -07:00
Brad Rydzewski
6af9d40c4b fixed compile error caused by laziness 2014-08-14 12:49:45 -07:00
Brad Rydzewski
52422a3116 fixed panic due to missing user on rebuild 2014-08-14 12:44:36 -07:00
Brad Rydzewski
4215193af9 Update worker.go 2014-08-14 11:56:11 -07:00
Brad Rydzewski
f5d82b5dc6 clarified format for private variables 2014-08-13 21:43:59 -07:00
Brad Rydzewski
e7e6b2c608 added code to append private environment variables for non-PRs 2014-08-13 21:37:56 -07:00
Brad Rydzewski
8d1f9de883 quick fix to add author to page 2014-08-11 23:29:06 -07:00
Brad Rydzewski
dcdb1605b0 fixed issue where not correctly adding perm for existing repo 2014-08-11 23:15:38 -07:00
Brad Rydzewski
ca2a93ed9f ability to set xsrf token 2014-08-09 19:06:37 -07:00
Brad Rydzewski
062e275388 moved standard http headers 2014-08-09 19:06:20 -07:00
Brad Rydzewski
52e5ffaee5 fixed minor sync error where members were not granted access 2014-08-07 21:33:04 -07:00
Brad Rydzewski
c1b1ded873 Merge remote-tracking branch 'origin/exp' into exp 2014-08-07 21:19:44 -07:00
Brad Rydzewski
10e493ba1e Update filters.js
fixed issue w/ github enterprise and not display correct URL path
2014-08-07 12:30:19 -07:00
Brad Rydzewski
95c375dceb Update hook.go
added logging when post-commit hook received
2014-08-07 11:23:12 -07:00
Brad Rydzewski
d606c88860 fixed margin issues on repo list page, on mobile debices 2014-08-03 23:57:51 -07:00
Brad Rydzewski
dc8d728812 removed commit progression arrow on cell phone 2014-08-03 23:22:43 -07:00
Brad Rydzewski
88867a813f some minor changes to make more responsive 2014-08-03 23:11:30 -07:00
Brad Rydzewski
4a5dce76cd github status API now functioning properly 2014-08-03 21:28:51 -07:00
Brad Rydzewski
4d56ab7878 added code to display CCTray status 2014-07-31 21:44:25 -07:00
Sebastian Müller
13cb2a89b4 chore(views): use ng-href instead of href for better dynamic href handling 2014-07-23 21:39:50 +02:00
Brad Rydzewski
07ecf8d459 ability to ignore branches, or skip a build using [CI SKIP] in message 2014-07-17 22:49:11 -07:00
Brad Rydzewski
25a6eb79ae returning status for commit hook & rebuild handler 2014-07-16 00:33:55 -07:00
Brad Rydzewski
a39be8e480 fixed homepage device width on mobile 2014-07-16 00:33:27 -07:00
Brad Rydzewski
6da7d3a5be optimized dashboard for tablet with 1/4 card layout 2014-07-14 00:02:41 -07:00
Brad Rydzewski
2d43ba507c settings page now display configured remotes 2014-07-14 00:00:04 -07:00
Brad Rydzewski
dfb792e7f1 removed unused css files 2014-07-13 21:55:48 -07:00
Brad Rydzewski
7d446459d3 style mods to the login page 2014-07-13 20:24:03 -07:00
Brad Rydzewski
88d940e58a using rice append and cleaner build process 2014-07-13 19:41:08 -07:00
Brad Rydzewski
7d48ecad14 fixed naming conflict between workers int and workers chan 2014-07-13 17:15:09 -07:00
Brad Rydzewski
f9c503f74b launching multiple workers (1 per cpu) by default 2014-07-13 17:06:55 -07:00
Brad Rydzewski
063969842b removed unused js and css files, remoted html5 notifications (for now) 2014-07-13 16:46:49 -07:00
Brad Rydzewski
54984a7363 improved unit tests for the database permission table 2014-07-13 16:36:31 -07:00
Brad Rydzewski
c20f563330 reverted back to original sqlite database location 2014-07-13 16:04:10 -07:00
Brad Rydzewski
5d00c3f6ce fixed bugs with global commit feed not sending events 2014-07-13 15:45:01 -07:00
Brad Rydzewski
7a970aaff0 updated websockets to send global messages to any use w/ read access 2014-07-13 15:23:52 -07:00
Brad Rydzewski
bbc646b9c2 added method to retrieve role from database 2014-07-13 15:23:33 -07:00
Brad Rydzewski
aa9a8f4878 integrated plugin model for remotes 2014-07-12 19:01:58 -07:00
Brad Rydzewski
ecff154c56 fixed code to use ssh clone url for private repos 2014-07-12 00:22:54 -07:00
Brad Rydzewski
5b4a8ef4ea fixed go vet warnings 2014-07-11 22:14:14 -07:00
Brad Rydzewski
d000ca2918 code to stream stdout to the browser 2014-07-11 19:10:18 -07:00
Brad Rydzewski
6375eaa552 fixed issue w/ buffer blocking on write to websocket 2014-07-11 16:52:22 -07:00
Brad Rydzewski
fa0213ab8d fixed issue w/ websockets not connecting for streaming stdout 2014-07-11 16:00:04 -07:00
Brad Rydzewski
eae495534b removed hard-coded Docker socket 2014-07-11 15:39:17 -07:00
Brad Rydzewski
3e5035c254 setup the worker to stream results 2014-07-11 15:29:31 -07:00
Brad Rydzewski
4aba399b3b added toast message to display when repo commit event is received 2014-07-11 13:46:04 -07:00
Brad Rydzewski
b9b79b7994 added flag to indicate account is currently syncing 2014-07-11 13:45:32 -07:00
Brad Rydzewski
3a6ce5b5e1 forgot to stop the angular interval after changing path 2014-07-10 22:41:11 -07:00
Brad Rydzewski
799e80c97a added message when repository is inactive, and when no commits 2014-07-10 22:29:45 -07:00
Brad Rydzewski
491b0e9eee setup sync screen 2014-07-09 22:24:06 -07:00
Brad Rydzewski
ab0a306cbc removed parent_id from user table since not being used 2014-07-09 18:39:31 -07:00
Brad Rydzewski
f4f23600d9 improved style of home page failure cards 2014-07-09 18:28:11 -07:00
Brad Rydzewski
81d99129cd improved card highlighting on hover 2014-07-09 18:16:41 -07:00
Brad Rydzewski
638c4b514a improved the homepage formatting to pull latest status per repo 2014-07-09 18:11:28 -07:00
Brad Rydzewski
50b659cadb code to update repo params and flags. added styling as well 2014-07-09 17:26:21 -07:00
Brad Rydzewski
6b9ae21c7a added pages to add / edit / delete users from the system 2014-07-09 14:25:11 -07:00
Brad Rydzewski
79e46d1a8c added repo settings link & new user link 2014-07-09 11:46:46 -07:00
Brad Rydzewski
b3b722394c added sorting to the repository list page 2014-07-09 10:22:01 -07:00
Brad Rydzewski
353ae1cd6f styled the repository page 2014-07-09 10:13:08 -07:00
Brad Rydzewski
f97c6f6e1a fixed styling issue with user page on ff 2014-07-09 01:52:08 -07:00
Brad Rydzewski
502a0222f2 added nicer style to user page, hooked up search functionality as well 2014-07-09 01:22:24 -07:00
Brad Rydzewski
fbda588d87 updated style for users page 2014-07-09 01:08:07 -07:00
Brad Rydzewski
c8590391e9 updated css styles & angular 2014-07-09 00:46:15 -07:00
Brad Rydzewski
c6b880c272 improvemed ability to display the html5 notifications for commits 2014-06-22 03:02:22 -07:00
Brad Rydzewski
e8abb11c19 got websockets working. added stubs for html5 notifications api 2014-06-22 02:04:07 -07:00
Brad Rydzewski
77daa5743f replaced Chrome browser with PhantomJS in karma tests
moved header to parent page, removed from templates
2014-06-21 19:40:21 -07:00
Brad Rydzewski
7acf92e754 hooked up websockets & added setup karma+jasmine 2014-06-21 17:41:40 -07:00
Brad Rydzewski
83577a7d5d removed css files. designers will be providing
removed amber files. replacing with angular
removed queue package in favor or worker package
removed channel package in favor of pubsub package
2014-06-21 14:22:38 -07:00
Brad Rydzewski
d64bcdb51d Get Config Data via ConfigManager 2014-06-12 17:17:59 -07:00
Brad Rydzewski
f0a8e91a68 Removed Unused util Package 2014-06-12 16:43:43 -07:00
Brad Rydzewski
36b01512c0 Refactored to use Model and Database folders 2014-06-12 16:41:04 -07:00
Brad Rydzewski
554276de05 Removed Unused Package 2014-06-12 15:41:47 -07:00
Brad Rydzewski
8eaf9957a6 Moved httputil and sshutil Packages 2014-06-12 15:28:05 -07:00
Brad Rydzewski
e2c7878efb Created testdatabase Package to Open DB Conn 2014-06-12 15:23:56 -07:00
Brad Rydzewski
47ea0cbd29 Moved schema.go to schema Package 2014-06-12 15:02:19 -07:00
Brad Rydzewski
170135cb1d Move Plugins to a /plugin Directory 2014-06-12 14:46:55 -07:00
Brad Rydzewski
12fae4b62e Replaces goyaml With gopkg.in/yaml.v1 in Unit Test Packages 2014-06-12 14:38:12 -07:00
Brad Rydzewski
316548899f Removes Unnecessary /render Rackage 2014-06-12 14:24:06 -07:00
Brad Rydzewski
0d340645b2 Fixed "go vet" Failures 2014-06-12 14:13:03 -07:00
Brad Rydzewski
43e382b5a1 added code to specify a gopath 2014-06-12 12:51:55 -07:00
Brad Rydzewski
aec9b33048 got the build working correctly 2014-06-12 12:44:19 -07:00
Brad
7abe695a5c hooked the build queue back up 2014-06-11 17:42:49 -07:00
Brad
30b38bd4b7 builds marked 'killed' now display as such in the UI 2014-06-11 14:55:38 -07:00
Brad
1a143f8fb4 cancel all pending or started builds when the app starts 2014-06-11 12:39:29 -07:00
Brad
88ee774d8d removed reference to Build in commit template 2014-06-11 12:39:06 -07:00
Brad
d0dd308523 initial queue code added. also ability to extract Hostname from remote 2014-06-09 15:47:35 -07:00
Brad
c7d63ec7ce fixed repo.FindName to use actual hostname, now that host db field exists 2014-06-09 14:36:27 -07:00
Brad
4abc7bf81e added code to prevent user self-registration 2014-06-09 14:32:00 -07:00
Brad
4d4defc416 re-added code to read/write websocket data. added to amber templates 2014-06-08 23:59:23 -07:00
Brad
b0255af7a9 removed unused build package from /queue 2014-06-07 13:46:05 -07:00
Brad
5a8eeb9c29 adding Repo.Host to commit feed data structure 2014-06-07 13:37:00 -07:00
Brad
cfed6505d5 altered database code to use repo_host instead of repo_remote 2014-06-07 13:33:34 -07:00
Brad
779987da7f removed unused commitest package, replaced by /database/testdata 2014-06-07 13:27:37 -07:00
Brad
83286aba39 replaced Host with Remote 2014-06-07 13:22:58 -07:00
Brad
32a222d25d replaced Repo.Remote with Repo.Host in all templates 2014-06-07 13:14:16 -07:00
Brad
1fff27a28c removed builds table since not being used in the near term 2014-06-07 12:57:20 -07:00
Brad
6e2f0ee9cd updated base template to include styled Login button 2014-06-07 12:17:48 -07:00
Brad
e72289c468 ability to save repository settings 2014-06-06 11:36:16 -07:00
Brad
feea108f51 removed hack that keeps me loggedin that I never meant to push 2014-06-05 17:12:51 -07:00
Brad
2163f2da57 ability to activate an inactive repository 2014-06-05 17:10:58 -07:00
Brad
6a57b1b626 added message to indicate empty feed on user and repo dashboard screens 2014-06-05 16:48:45 -07:00
Brad
072dbd95b1 added some simple search functionality to the repo list 2014-06-05 16:31:12 -07:00
Brad
b3f77d3226 added message when build feed is empty 2014-06-05 16:19:25 -07:00
Brad
289312b678 persisting repository hostname to database 2014-06-05 16:02:54 -07:00
Brad
d84b1ac3e4 altered repo to track repo hostname (ie github.com) and multiple clone urls 2014-06-05 15:04:59 -07:00
Brad
7fa5cae9d1 fixed parse error w/ auto-generated toml file 2014-06-05 12:07:24 -07:00
Brad
54ccb62f00 added a login screen 2014-06-05 12:04:12 -07:00
Brad
3fe374559a fixed compile error in queue 2014-06-04 14:44:05 -07:00
Brad
ce44ddfeca pushing my local branch 2014-06-04 14:25:38 -07:00