6543
f81bd8c656
Extend Logging & Report to WebHook Caller back if pulls are disabled ( #369 )
...
* Add more logging
* Format Code
* Add TODOs
* Fix nits
* Delete two unused functions
* Report to WebHook Caller back if pulls are disabled
2021-09-27 23:32:08 +02:00
6543
a94807efeb
Refactor: move model/ to server/model/ ( #366 )
2021-09-27 19:51:55 +02:00
6543
06d83c7b0e
Remote Gitea drop basic auth support ( #365 )
...
you now have to set **gitea-client** and **gitea-secret**.
2021-09-27 08:11:11 +02:00
Anbraten
bd19f90756
Replace www-path with www-proxy option for development ( #248 )
...
By adding a new ENV variable called `WOODPECKER_WWW_PROXY` it is possible to serve a webinterface via a proxy configured by the `WOODPECKER_WWW_PROXY` value for development instead of serving the interface from the bundled code or from some folder location as the old `WOODPECKER_WWW` option allowed. Using a proxy allows developing the UI with hot-reloading.
2021-09-27 00:22:23 +02:00
6543
5a05a7fe6b
Make configFetcher fallback work for gitea ( #357 )
...
#299 who closed #133 did not take into account, that that gitea (and eventually) other forges do return 200 and empty string if file was not found - this make configFetcher more resilient
2021-09-26 01:23:17 +02:00
6543
d8cd4925ec
If config is no dir asume its a folder ( #354 )
...
If config is no dir assume its a folder (user do not always add / suffix)
2021-09-25 02:56:05 +02:00
6543
0bd10fa507
Cleanup Code ( #348 )
...
* Fix "Empty slice declaration using a literal"
* Fix "collides with imported package name"
* Remove unused code in pipeline
* Remove unused oauth2.providerAuthHeaderWorks()
* Add TODOs
* Format Code
* Cleanup doublestar import
* Migrate deprecated functions
Co-authored-by: Anbraten <anton@ju60.de>
2021-09-24 16:29:26 +02:00
Jacob Floyd
e34daae0cf
Move cncd/pipeline/pipeline/ to pipeline/ ( #347 )
...
* Refactor: move cncd/pipeline/ to pipeline/
* Refactor: move pipeline/pipeline/ to pipeline/
2021-09-24 13:18:34 +02:00
Jacob Floyd
a0d008e071
Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ ( #346 )
...
* Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/
* Update REAMDEs and include history
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Anbraten <anton@ju60.de>
2021-09-23 22:29:09 +02:00
Jacob Floyd
780c902a6b
Refactor: move remote/ to server/remote/ ( #344 )
2021-09-23 18:25:51 +02:00
Jacob Floyd
e2b59787c1
Move plugins/ package to server/plugins/ ( #343 )
2021-09-23 16:12:46 +02:00
Jacob Floyd
5fe712cca6
Move package store/ to server/store/ ( #341 )
...
* Refactor: move store/ to server/store/
* fix pipeline for moved tests
Co-authored-by: 6543 <6543@obermui.de>
2021-09-23 13:33:59 +02:00
Jacob Floyd
b8f55f31e2
Move router package to server/router/ ( #339 )
2021-09-22 22:41:32 +02:00
Jacob Floyd
35a45b7961
Reorganize code into server/{api,grpc,shared} packages ( #337 )
...
* move api code to server/api
* move grpc server for agent communication to server/grpc
* move server.Config to server/config.go as it is used by both server/api and server/grpc
* move shared code used by server/api and server/grpc to server/shared
2021-09-22 20:48:01 +02:00
Jacob Floyd
7f4a205764
Remove legacy/unused code + misc cleanups ( #331 )
...
* delete obsolete cncd code
jsonrpc2 client+server, and the utils that used them (piped, pipec)
are not used anymore.
jsonrpc2 was replaced with grpc
piped+pipec were replaced by agents
* delete duplicate section in swagger file
* comment typos
* go mod tidy (websocket+jsonrpc2 no longer used)
* go mod vendor
Co-authored-by: Anbraten <anton@ju60.de>
2021-09-21 17:35:32 +02:00
Anbraten
5653577d7e
Fix sanitizePath ( #326 )
...
With #299 the `sanitizePath` has a bug now. If no special config (empty string) has been set it falls back to default values, but the `sanitizePath` function the used the pipelince-config-path to sanitize pipeline names.
2021-09-21 04:21:13 +02:00
Anbraten
894df351ee
Remove push, tag and deployment webhook filters ( #281 )
...
- remove `AllowPush`, `AllowTag`, `AllowDeploy` options.
- keep `AllowPullRequest` option and disable it by default
---
close #265
close #243
2021-09-18 16:28:35 +02:00
Anbraten
289f0c9ad6
Change pipeline config path resolution ( #299 )
...
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)
# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)
---
closes #133
---
* adjust config fetching mechanism
* default path empty
* remove fallback flag from ui and db
2021-09-17 21:40:43 +02:00
Anbraten
34cfabb56d
Fix filter pipeline config files ( #279 )
...
closes #271
- filter pipeline config folders for `.yml` and `.yaml` files
- improve `fetchConfig` tests
- update remote mock and correct wrong folder name `mock` => `mocks` to match package name
- fix: return correct filename for fallback
- improve config loading by checking if folder or not before sending api call
2021-08-30 22:54:21 +02:00
Anbraten
8aeae0a651
Use custom config path to sanitize build names ( #280 )
...
fix #270
2021-08-29 22:25:41 +02:00
Anbraten
1a67fc6e99
Use server-host as source for public links and warn if it is set to localhost ( #251 )
...
* Use server-host as source for public links
* use config and rm GetURL()
* fix: solve import cycle
Co-authored-by: 6543 <6543@obermui.de>
2021-08-20 16:32:52 +02:00
6543
70958acc44
update / remove drone dependencies ( #236 )
...
* include github.com/drone/signal
* update github.com/drone/envsubst
* move github.com/woodpecker-ci/expr to woodpecker org
2021-06-30 19:15:28 +02:00
Alex Eftimie
2ff91e6a05
Add support for path-prefix condition ( #174 )
...
Example:
```yaml
when:
path: '*.md'
```
should match only builds in which the commit added/removed or modified files with the *.md extension
Co-authored-by: 6543 <6543@obermui.de>
2021-06-28 23:50:35 +02:00
Paweł Bogusławski
68dbd488a9
Using configured server URL instead of obtained from request ( #175 )
...
Woodpecker should use configured server URL when creating self
URL-s for VCS UI and not depend on URL read from request. In
case of internal calls like answers for webhooks from Gitea
on backend, address in URL may be internal and this causes
Gitea to display CI status for commit with intenal URL
to woodpecker not external one.
2021-06-28 19:28:18 +02:00
6543
bfc4aa8059
Enforce code format ( #228 )
...
* format .drone.yml & go code
* improve .editorconfig
* extend Makefile
* enforce go code format
* fix space
* update deps
* clean up
2021-06-22 12:34:35 +02:00
Laszlo Fogas
c7ebd68232
Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker
2021-05-25 14:08:27 +02:00
Laszlo Fogas
5ea7098569
Go 1.16, go fmt, go modules update
2021-02-19 09:43:03 +01:00
Laszlo Fogas
14636cc226
Merge pull request #119 from imduffy15/owner-filter
...
Add whitelist for syncable owners
2020-05-20 06:53:24 +02:00
Ian
1f8b3c4a45
Fix mistakes caused from splitting out into PRs
2020-05-19 13:20:29 +01:00
Ian
0d90789422
Add whitelist for syncable owners
2020-05-18 16:58:59 +01:00
Ian
a11db91e49
Upgrade dependencies
2020-05-18 16:41:15 +01:00
Laszlo Fogas
a63a74053e
Administration articles moved
2019-11-13 20:04:14 +01:00
Laszlo Fogas
0970d3a971
Make version number visible in UI
2019-11-12 21:42:05 +01:00
Laszlo Fogas
8dee34878d
Version is now a string coming from ldlags and git tags
2019-11-12 21:10:16 +01:00
Laszlo Fogas
61a14df51b
Pull in frontend
2019-11-12 14:27:39 +01:00
Laszlo Fogas
e2a7917c83
Merge pull request #74 from mhmxs/test-parallel
...
Make test execution parallel in server
2019-10-08 15:52:21 +02:00
mhmxs
1196222a14
Make test execution parallel in server
2019-10-06 20:30:06 +02:00
mhmxs
72743424fa
Proc status update tests
2019-10-04 18:27:46 +02:00
Laszlo Fogas
d8fe50dfa7
Iterating on cance;ation logic
2019-09-16 15:19:09 +02:00
mhmxs
db4876aabc
Create separate Go file for proc status updates
2019-09-15 07:29:45 +02:00
mhmxs
53258bf989
Format source code
2019-09-14 14:21:16 +02:00
mhmxs
fd361ddf2a
Create separate Go file for build status updates
2019-09-14 14:20:16 +02:00
Laszlo Fogas
1c306dd1d4
Surface parsing error in branch filter
2019-09-09 09:53:54 +02:00
Laszlo Fogas
630c383181
Project is renamed to Woodpecker
2019-08-27 13:07:19 +02:00
Laszlo Fogas
1f83f0f198
After filterItemsWithMissingDependencies introduced, the next id can be higher than the length of procs
2019-07-23 14:10:44 +02:00
Laszlo Fogas
3bb0f64025
Handling zero-steps as transitive dependencies
2019-07-22 14:29:15 +02:00
Laszlo Fogas
6879bf62cb
Handling zero-step pipelines as multi-pipeline depedencies
2019-07-22 14:13:46 +02:00
Laszlo Fogas
ed51df29b3
Factor out sideeffects
2019-07-22 13:45:01 +02:00
Laszlo Fogas
b7f61fc81d
Queue knows about skipped tasks now to handle transitive deps
2019-07-22 12:44:03 +02:00
Laszlo Fogas
906c0c7a0d
Merge remote-tracking branch 'origin/master' into zero-steps
...
* origin/master:
Reinstate simplified gating logic
2019-07-20 21:15:50 +02:00
Laszlo Fogas
d560643b26
Calculating build steps early on to cut short cases without any runnable steps
2019-07-19 10:13:02 +02:00
Laszlo Fogas
c303a4d463
If there are no steps, it shouldn't yield a proc
2019-07-19 09:18:40 +02:00
Laszlo Fogas
2edc5fcfb7
Pid ID refactor
2019-07-19 09:17:47 +02:00
Laszlo Fogas
2cd5d8c02b
Reinstate simplified gating logic
2019-07-18 14:21:05 +02:00
Laszlo Fogas
05ca66cc97
Moved to woodpecker-ui
2019-07-09 13:23:08 +02:00
Laszlo Fogas
1d564e978f
More prometheus metrics, refactoring
2019-06-28 14:28:41 +02:00
Laszlo Fogas
8bb5770636
Endpoint that blocks until there are running builds
2019-06-28 08:42:06 +02:00
Laszlo Fogas
d39dd6f2ff
Pause/Resume queue
2019-06-28 08:29:57 +02:00
Laszlo Fogas
ace264fe2f
Persist intended URL through the OAuth flow
2019-06-27 08:25:00 +02:00
Laszlo Fogas
8d79f8671e
Fallback to default config. Allows incremental rollout of custom-path
2019-06-25 13:45:43 +02:00
Laszlo Fogas
84564f9ae5
.drone.yml takes precedence over configured path. Allows incremental rollout
2019-06-25 09:46:18 +02:00
Laszlo Fogas
580b7b272f
Pipeline path configurable
2019-06-24 09:04:30 +02:00
Laszlo Fogas
eed92421c9
Branch conditions on pipelines
2019-06-19 09:36:54 +02:00
Laszlo Fogas
fded153328
Gated builds is disabled as I don't understand the feature
2019-06-19 09:01:17 +02:00
Laszlo Fogas
69de8face1
Handling canceled, skipped builds
2019-06-19 08:36:13 +02:00
Laszlo Fogas
1d47ba8a32
Status line for each pipeline on Github
2019-06-17 10:48:40 +02:00
Laszlo Fogas
a433591afa
Introducing runs_on to run pipelines on failure
2019-06-17 09:06:36 +02:00
Laszlo Fogas
2253ca66db
Tasks should not run on error, unless specified
2019-06-16 15:56:32 +02:00
Laszlo Fogas
a22747f5c3
Sort later, so it is sorted in restarts too
2019-06-16 15:55:55 +02:00
Laszlo Fogas
6a2c3f129c
Factor into functions
2019-06-16 10:54:31 +02:00
Laszlo Fogas
001d645471
Order files alphabetically
2019-06-13 18:09:25 +02:00
Laszlo Fogas
a3ec40d438
Fifo queue with dependencies
2019-06-13 18:02:26 +02:00
Laszlo Fogas
f9c5fcec0d
N:N relationship between build and config. Restarts work
2019-06-11 10:50:50 +02:00
Laszlo Fogas
3fe710bbe4
1:n relationship for build-config
2019-06-07 10:40:16 +02:00
Laszlo Fogas
105a0708fe
Refactor
2019-06-05 15:58:27 +02:00
Laszlo Fogas
dbfbd15238
Moved proc id changes closer to each other
2019-06-05 10:36:16 +02:00
Laszlo Fogas
435083db9e
Handling channel close
2019-06-05 10:08:49 +02:00
Laszlo Fogas
5cc4dca56f
Fetching multiple pipelines from Github, skipping some logic for now
2019-06-04 15:04:18 +02:00
Laszlo Fogas
df50b7ef40
Testing procBuilder
2019-06-01 13:02:26 +02:00
Laszlo Fogas
c9f2346c2c
Supporting multiple yamls in procBuilder
2019-06-01 13:02:26 +02:00
Laszlo Fogas
8199fe4a21
Fixed tests
2019-06-01 13:01:50 +02:00
Laszlo Fogas
4cce34d5bf
Moved things closer that belong together
2019-06-01 13:00:19 +02:00
Laszlo Fogas
ddabcde3e3
Factored to a better place
2019-06-01 12:52:30 +02:00
Laszlo Fogas
21d6552b4b
It's okay
2019-06-01 10:59:35 +02:00
Laszlo Fogas
8cec8ed0d5
Dryness
2019-06-01 10:27:28 +02:00
Laszlo Fogas
73aa46405a
Factored into file
2019-06-01 10:17:02 +02:00
Laszlo Fogas
43c44cfbd6
Factored into named functions
2019-06-01 10:08:41 +02:00
Laszlo Fogas
f25317599a
Unlimited
2019-06-01 09:45:20 +02:00
Laszlo Fogas
a4541ac901
Pull in cncd/* for simpler workflow
2019-04-06 15:44:04 +02:00
Laszlo Fogas
ca5817ffc2
Renamed package
2019-04-04 20:51:20 +02:00
Niall Sheridan
a55fa44589
Recover panic on closed channel
...
Related to #2480
Signed-off-by: Niall Sheridan <nsheridan@squarespace.com>
2018-11-14 11:27:41 +00:00
Brad Rydzewski
eb96456909
fix for #2480
2018-10-18 22:33:56 -07:00
Delfer
ea2c72b4b4
Add ability to restart build of any state
2018-04-06 17:54:24 +03:00
Brad Rydzewski
c78ce27d76
Merge pull request #2386 from fbcbarbosa/patch-1
...
Fix EventStreamSSE Memory Leak
2018-03-30 09:39:41 -07:00
Fernando Barbosa
00f72ef206
Fix EventStreamSSE Memory Leak
...
The `Config.Services.Pubsub.Subscribe` is being initialized with the global Gin Context. This causes the publisher object to [hang at line 58](https://github.com/cncd/pubsub/blob/master/pub.go#L58 ) and the goroutine remains opened indefinetly, which can be a source of memory leak.
Setting it to the locally defined ctx object correctly causes the goroutine to close when the function exits due to the deferred close.
See https://discourse.drone.io/t/memory-leak-on-drone-server/1884 for further information.
2018-03-27 19:19:22 -03:00
Thomas Boerger
398ca972bc
Fixed wrong variable name
2018-03-27 22:50:55 +02:00
Thomas Boerger
06ff6b50ed
Use specific token for prometheus metrics
2018-03-27 22:22:19 +02:00
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./...
2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7
add apache license header to files
2018-02-19 14:24:10 -08:00
Brad Rydzewski
cef20f0476
Merge pull request #2331 from jbrockopp/master
...
Build List Pagination
2018-02-19 14:01:33 -08:00
Brad Rydzewski
909053ba5b
Merge pull request #2244 from appleboy/fix2
...
Fix drone filter func
2018-02-19 13:01:05 -08:00
Yuki Yoshida
100f44c615
Fix typos
2018-02-16 17:21:01 +09:00
Jordan Brockopp
c84031e3e8
get page query param. set default of 1 if not set
2018-02-02 13:04:21 -06:00
Jordan Brockopp
a844ed53e9
allow repo admin to update build counter
2018-02-01 13:10:00 -06:00
Tony Li
2700a5eeaa
better format
2018-01-18 13:20:42 -05:00
Tony Li
e15e88584e
purge log w/ timestamp
2018-01-18 13:08:11 -05:00
Brad Rydzewski
8771fb53af
purged log placeholder to include username
2018-01-18 09:30:41 -08:00
Brad Rydzewski
cd0524e77e
endpoint to purge build logs
2018-01-18 09:26:28 -08:00
Elena Grahovac
296a4f1977
Log the exact error in case of 'error setting commit status'
2017-12-20 12:12:38 +01:00
Brad Rydzewski
1db7bde877
Merge pull request #2274 from appleboy/bugs
...
fix(drone-server): missing default branch name in metadata.
2017-12-06 13:43:20 -08:00
Brad Rydzewski
cf30898042
enable instance in when clause
2017-12-01 13:38:55 -08:00
Brad Rydzewski
970080e444
use a backoff when fetching the yaml
2017-12-01 09:22:30 -08:00
Bo-Yi Wu
b6a9645b31
fix(drone-server): missing default branch name in metadata.
2017-12-01 12:24:19 +08:00
Bo-Yi Wu
8ad98fa42b
add missing filter expr content.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-17 23:47:53 +08:00
Thomas Boerger
5abfd70c53
Fix procs.proc_started value if not set
2017-10-06 22:17:48 +02:00
Brad Rydzewski
bb8c569249
add healthz endpoint to server
2017-10-05 14:17:27 -07:00
Brad Rydzewski
9a0a6f924e
prevent per-user concurrent sync
2017-09-29 11:21:06 -07:00
Brad Rydzewski
ec6016062b
show loading status in user interface
2017-09-20 12:29:57 -07:00
Brad Rydzewski
2c9d50ccc6
should use correct status for killed
2017-09-15 09:04:21 -07:00
Brad Rydzewski
45357681a6
do not restart errored build
2017-09-14 15:33:12 -07:00
Matt Leung
820d07263b
Add server env var to specify .drone.yml location
...
Allow setting DRONE_REPO_CONFIG to override default location of .drone.yml
2017-09-12 17:06:12 -07:00
Brad Rydzewski
8795cf039f
reduce logfile upload limit
2017-09-12 09:03:32 -07:00
Brad Rydzewski
25c9b8050a
introduce limiter for planned refactoring
2017-09-11 10:22:45 -07:00
Brad Rydzewski
902523911e
remove unused websocket funcs
2017-09-10 17:48:12 -07:00
Brad Rydzewski
c95d2bf9f0
restart build will always fork; update sqlite
2017-09-10 17:45:42 -07:00
Brad Rydzewski
6cdf907c73
Merge pull request #2200 from praxist/build_filter_expression_parser
...
Add expression parser evaulator for build filter
2017-09-10 14:39:15 -07:00
Matt Leung
4c2ff78d20
Add expression parser evaulator for build filter
...
Vendor github.com/drone/expr
Vendor github.com/drone/expr/parse
2017-09-08 19:39:24 -07:00
Brad Rydzewski
b2dc32d5bb
Merge pull request #2192 from tonglil/fix-typo [ci skip]
...
Fix typo
2017-09-08 17:49:14 -07:00
Matt Leung
2892efedda
Add repo to task labels for build filtering
...
Add generated labels after user-defined labels to prevent tampering
2017-09-08 16:46:28 -07:00
Brad Rydzewski
49ea713a36
improve UI loader
2017-09-07 17:43:33 -07:00
Tony Li
81fe4b6520
fix typo
2017-09-05 17:09:12 -04:00
Brad Rydzewski
cf549e47c3
repo repair should update private status
2017-08-26 15:52:57 -07:00
Brad Rydzewski
47c1caa7cd
Merge pull request #2168 from josmo/rename-repo
...
Adding the ability to update the repo owner and name via patch with t…
2017-08-26 13:14:03 -07:00
Brad Rydzewski
7d245e7b27
fix route for proc logs
2017-08-24 17:03:11 -07:00
Brad Rydzewski
23a348b4f7
periodically ping client from server
2017-08-22 08:49:44 -07:00
Joachim Hill-Grannec
06bffddf96
remove lingering visibility
2017-08-21 18:52:09 -04:00
Joachim Hill-Grannec
f54175de91
Made ResetVisibility and ParseRepo generic.
...
Validate new from repo has admin rights
2017-08-21 18:49:09 -04:00
Joachim Hill-Grannec
cee90e93aa
Update to create move endpoint to allow changing the repo name
2017-08-21 17:56:37 -04:00
Joachim Hill-Grannec
6c386b18a6
Update to add visibility and isPrivate from the rename
2017-08-21 15:56:44 -04:00
Joachim Hill-Grannec
1260a829d0
Merge branch 'master' into rename-repo
2017-08-21 13:13:55 -04:00
Joachim Hill-Grannec
10b47c69e4
custom session expiration
2017-08-17 12:50:44 -07:00
Joachim Hill-Grannec
c30198e412
Adding Environment variable to configure the session expiration
2017-08-17 12:50:31 -07:00
Joachim Hill-Grannec
4fab997871
Adding the ability to update the repo owner and name via patch with the owner and name props
2017-08-16 16:21:13 -07:00
Joachim Hill-Grannec
a848f3e793
allow in a patch update to change the build number if the user is an admin
2017-08-12 17:01:10 -07:00
Brad Rydzewski
ef4ed73179
fix default workspace path
2017-08-04 16:17:16 -04:00
Brad Rydzewski
5172b974a3
update index template
2017-08-02 16:49:00 -04:00
Brad Rydzewski
60cd607450
capture file metadata
2017-08-02 16:04:00 -04:00
Brad Rydzewski
7a4879c3e4
ability to force kill zombie builds
2017-08-01 12:57:01 -04:00
Brad Rydzewski
241d994a26
abstract the user interface
2017-07-31 15:15:05 -04:00
Brad Rydzewski
bcdd5c9d06
implement file endpoints
2017-07-27 13:06:24 -04:00
Brad Rydzewski
825dc630b9
return files/artifacts with build
2017-07-26 17:58:44 -04:00
Brad Rydzewski
aadcde2b2c
Merge pull request #2142 from bradrydzewski/master
...
fix issue #2138
2017-07-25 14:01:28 -04:00
Brad Rydzewski
162d9b3a67
fix issue #2138
2017-07-25 13:57:13 -04:00
Brad Rydzewski
5e735c2632
improve experimental quic setup
2017-07-24 21:46:00 -04:00
Brad Rydzewski
441a015ca8
serve logs with sse; update acme pkg
2017-07-24 15:57:07 -04:00
Brad Rydzewski
39251a85a9
removed unused and broken packages
2017-07-24 13:23:22 -04:00
Brad Rydzewski
c3732041d5
refresh repo info on activation
2017-07-21 11:53:11 -04:00
Brad Rydzewski
eaa6d41699
pass agent hostname to all rpc calls
2017-07-20 12:21:15 -04:00
Brad Rydzewski
1c01cd3612
Merge remote-tracking branch 'origin'
2017-07-19 23:07:45 -04:00
Brad Rydzewski
9720337655
set machine on proc update
2017-07-19 23:07:29 -04:00
Brad Rydzewski
61fa5ff08d
Merge pull request #2125 from bradrydzewski/master
...
Pass agent hostname to server and persist
2017-07-19 22:46:43 -04:00
Brad Rydzewski
250b048b22
pass agent hostname to server and persist
2017-07-19 17:46:03 -04:00
execjosh
1beaab12e8
Escape newlines in env var substitution
2017-07-19 19:39:36 +09:00
Brad Rydzewski
39b74e172e
improve local UI testing and ability for pluggable UI
2017-07-18 14:20:19 -04:00
Brad Rydzewski
c867bcaf3c
add sse for user event feed
2017-07-18 12:27:20 -04:00
Brad Rydzewski
631cd10033
username validation fixes #1418
2017-07-17 00:01:35 -04:00
Brad Rydzewski
d5200ad8b3
improve flush capability during sync
2017-07-16 13:37:16 -04:00
Brad Rydzewski
b078f1abc9
enable new polymer user interface
2017-07-16 12:27:01 -04:00
Brad Rydzewski
35e0ee2e5f
implement sync logic
2017-07-14 15:58:38 -04:00
Brad Rydzewski
7008e79c9c
ability to server website from disk
2017-06-30 14:39:25 -04:00
Brad Rydzewski
aed567a71e
initial work to enable grpc
2017-06-28 13:21:22 -04:00
Brad Rydzewski
ec9171cead
inject globals
2017-06-26 15:27:53 -04:00
Jacob McCann
daa23ce673
Allow specifying limits for pipeline steps from server config ( #2085 )
2017-06-24 08:16:16 -04:00
Brad Rydzewski
3ed811644f
fixes #1523 to ensure json-file driver ( #2083 )
2017-06-22 15:11:05 -04:00
Brad Rydzewski
62876d6ad9
bump version to 0.7
2017-05-24 16:45:56 +02:00
Brad Rydzewski
076dc0c3b9
fix todo for missing env variables from api
2017-05-23 20:08:06 +02:00
Brad Rydzewski
8a62c626bd
cleanup visibility verification logic
2017-05-23 00:54:04 +02:00
Brad Rydzewski
b1cbe65985
use visibility to alter permissions
2017-05-23 00:44:58 +02:00
Brad Rydzewski
108e3fe93b
update secret order of operations
2017-05-19 23:36:08 +02:00
Brad Rydzewski
833b5af087
fixes #914
2017-05-14 19:57:38 +02:00
Lucas Lara
c1b500665f
Expose parent build number
2017-05-12 21:31:08 +02:00
Brad Rydzewski
823175605f
Merge remote-tracking branch 'origin/master'
2017-05-12 16:06:56 +02:00
Brad Rydzewski
ccb28d0d74
commit embedded templates
2017-05-12 16:06:01 +02:00
Thomas Boerger
86ca01561b
Use proper random container name
2017-05-12 15:07:01 +02:00
Brad Rydzewski
3a64aa4cf2
simplify gating logic
2017-05-05 20:05:42 +02:00
Brad Rydzewski
4aac0bc4d6
re-use gated logic
2017-05-05 19:13:40 +02:00
Brad Rydzewski
4569b60f09
persist and compare yaml for gating
2017-05-05 18:59:37 +02:00
Brad Rydzewski
cb4f2f9a1d
propogate hostname correctly
2017-05-05 16:40:54 +02:00
Jason Riddle
3a255230ec
Add /api/metrics/prometheus endpoint
2017-04-27 16:49:28 -04:00
Brad Rydzewski
987f9a49d3
pwd
2017-04-21 17:31:13 +02:00
Brad Rydzewski
30b561636f
make escalated plugins, volumes, networks configurable
2017-04-14 10:41:24 +02:00
Brad Rydzewski
0f13620d66
fix remote status on build completion
2017-04-12 19:56:30 +02:00
Brad Rydzewski
18bee1b84d
added repo repair
2017-04-12 15:32:44 +02:00
Brad Rydzewski
5dfc61ca7e
ability to update repo settings from cli
2017-04-12 14:12:21 +02:00
Brad Rydzewski
2f67f5f706
compare server and agent version for compatibility
2017-04-12 13:04:39 +02:00
Brad Rydzewski
f2d4cf7be5
update repo patch logic
2017-04-11 23:51:33 +02:00
Brad Rydzewski
8348c858ba
wip enable pluggable secret and registry backends
2017-04-11 19:06:45 +02:00
Brad Rydzewski
6e244be920
improve secret match logic
2017-04-10 18:27:34 +02:00
Brad Rydzewski
489cdf2572
disable yaml change detecting / approval. not needed
2017-04-10 14:56:37 +02:00
Brad Rydzewski
4f4e3f2404
update how secrets provided to compiler
2017-04-10 13:08:12 +02:00
Brad Rydzewski
b10a074b57
implement compose secret syntax
2017-04-10 12:39:50 +02:00
Brad Rydzewski
4502e5a256
source registry secrets from db
2017-04-07 01:04:25 +09:00
Brad Rydzewski
55d4ccd64e
add registry management
2017-04-06 21:51:01 +09:00
Brad Rydzewski
76006d28ac
restart build by clearing prior procs and logs
2017-04-04 19:50:15 +09:00
Brad Rydzewski
16a07e660a
enable granular step data for matrix
2017-04-04 18:30:06 +09:00
Brad Rydzewski
0daee76aa8
use separate log table
2017-04-03 18:34:37 +09:00
Brad Rydzewski
ec88661d9e
refactor job to proc
2017-04-02 23:13:26 +09:00
Brad Rydzewski
6c11444de0
agent update build steps
2017-04-01 20:17:04 +09:00
Bo-Yi Wu
316a6ea454
fix: missing matrix env.
2017-03-21 22:30:01 +08:00
Brad Rydzewski
f0cbe62d81
load ui assets from filesystem
2017-03-20 23:51:41 +08:00
Brad Rydzewski
da1193734c
only expose netrc when private repo
2017-03-19 17:07:21 +08:00
Brad Rydzewski
6246b32569
ability to customize yaml path
2017-03-19 16:44:57 +08:00
Brad Rydzewski
b100401e29
only force approval when secrets exposed
2017-03-18 23:40:12 +08:00
Brad Rydzewski
0795dce4ed
added logging
2017-03-18 23:20:09 +08:00
Brad Rydzewski
130c623a35
compare yaml files
2017-03-18 19:25:53 +08:00
Brad Rydzewski
bfdd09c484
update github status on decline
2017-03-18 17:16:39 +08:00
Brad Rydzewski
e319aaff15
add reviewer fields, endpoints
2017-03-18 16:49:27 +08:00
Brad Rydzewski
6e735f28d8
ignore branch parse error
2017-03-16 19:00:56 +08:00
Brad Rydzewski
a95b118cb3
removed legacy code, updated cli
2017-03-16 18:14:02 +08:00
Brad Rydzewski
fc46a5be0a
remove println from logs
2017-03-15 00:01:43 +08:00
Brad Rydzewski
395f0d52f9
enable restart
2017-03-14 23:56:22 +08:00
Brad Rydzewski
442e05a4e1
mask secrets, backport drone_ variables
2017-03-12 00:46:59 -08:00
Brad Rydzewski
b4c4e92b5b
handle compiler or lint error
2017-03-10 02:58:25 -08:00
Brad Rydzewski
bb7453262a
implement cancel function
2017-03-05 22:05:16 +11:00
Brad Rydzewski
623be6d830
put updated agent behind flag
2017-03-05 18:56:08 +11:00
Jacob McCann
c0fcc2dfed
Don't allow "logging" messages after eof is received
2017-02-14 13:33:29 -06:00
Jan Niklas Hasse
0464ca1a44
Style Gogs login form
2017-02-10 09:02:11 +01:00
Jacob McCann
3cc49ef972
Send retain:remove before unsubscribing
2017-01-10 19:57:13 -06:00
Jacob McCann
b05c5f878e
Add pprof endpoints
2016-12-17 07:53:38 -06:00
Marcus Ramberg
87be45063f
Redirect to / after logout so you aren't automatically logged back in
2016-11-14 19:10:39 +01:00
Brad Rydzewski
58f84ced84
Merge pull request #1825 from donny-dont/feature/global_secrets
...
Implementing global secrets
2016-10-25 00:03:20 +02:00
Brad Rydzewski
db5b8e83ee
Merge pull request #1830 from bradrydzewski/feature/mq
...
merge the feature/mq branch
2016-10-23 23:12:49 +02:00
Don
0852424cfe
Implementing global secrets
2016-10-20 11:23:12 -07:00
Vaidas Jablonskis
284fca370e
Add a reference to parent build on forks / deploys
2016-10-19 13:28:18 +01:00
Brad Rydzewski
17a77127b6
fixed git clone issue
2016-09-29 17:23:26 -04:00
Brad Rydzewski
778971eb68
removed unused packages
2016-09-27 20:30:28 -05:00
Brad Rydzewski
584ec88b07
add platform field and selector capabilities
2016-09-27 20:16:46 -05:00
Brad Rydzewski
6f44450ef8
initial sort of working mq integration
2016-09-27 19:33:13 -05:00
Brad Rydzewski
0b2f1c8e51
integrates drone/mq into agent
2016-09-26 03:29:05 -05:00
Brad Rydzewski
f2c1d46f9e
queue integrated with server, but not agent
2016-09-26 00:39:28 -05:00
Vaidas Jablonskis
5e78e471ee
Fix a typo in reserved build params
2016-08-11 21:57:38 +03:00
Thomas Boerger
298dcd5a50
Integrated real API implementation for org secrets
2016-07-31 23:25:10 +02:00
Thomas Boerger
9aac9e5bf7
Integrated team secrets dummy API
2016-07-31 23:25:10 +02:00
Vaidas Jablonskis
7170cd6758
Add custom build parameters support to build re-start and deploy
2016-07-27 22:33:14 +01:00
Brad Rydzewski
71de0d9408
hacky fixed for race conditions on cancel
2016-07-13 17:33:28 -07:00
Brad Rydzewski
c27a5dd0b4
modifying cancel logic
2016-07-13 14:25:40 -07:00
Sandro Santilli
a24f584336
Separate core imports from external ones
2016-07-12 13:51:25 +02:00
Sandro Santilli
7dbeb6f42e
Use Warning instead of Error on sql failure in badge
2016-07-12 13:43:32 +02:00
Sandro Santilli
042e779e08
Use Sirupsen/logrus for logs
2016-07-12 13:28:02 +02:00
Sandro Santilli
578f73c791
Make badgeNone usable in HTML img tag (returning 200 instead of 404)
...
Also adds a print in the log about the kind of failure
2016-07-12 12:53:01 +02:00
Brad Rydzewski
324392d3e0
fix form action typo in Gogs logic form
2016-07-09 10:22:05 -07:00
Brad Rydzewski
4d1df2924c
replace UI with single page application ( #1704 )
2016-07-08 15:40:29 -07:00
Thomas Boerger
41af9c0720
Integrated initial command to list secrets
...
Since we are not able to list the already set secrets I have added the
required API andpoint and the required sub command to list them.
2016-06-28 00:20:01 +02:00
Brad Rydzewski
67ac073164
repo feed for latest build only
2016-06-14 17:34:47 -07:00
Brad Rydzewski
769551cb44
ability to pull full vs partial list
2016-06-14 15:20:17 -07:00
Brad Rydzewski
d656b2a75b
add chown command to switch repo owner
2016-06-14 14:05:53 -07:00
Brad Rydzewski
8de93539e3
use correct content-type for logs
2016-06-14 14:01:20 -07:00
Brad Rydzewski
08a4bf06a5
ability to flush user repo cache
2016-06-14 13:07:05 -07:00
Brad Rydzewski
5456f13e9c
ability to stream logs using websockets
2016-05-23 14:35:58 -07:00
Brad Rydzewski
752ce496d5
added code for agent to ping central drone server
2016-05-11 14:37:56 -07:00
Brad Rydzewski
4e74e161f0
quick hack to enable log sections
2016-05-11 00:36:01 -07:00
Brad Rydzewski
447741b840
added query, endpoint, cli for build queue items
2016-05-10 22:19:45 -07:00
Brad Rydzewski
e7aa94f875
store signature and verification in database
2016-05-10 18:48:02 -07:00
Brad Rydzewski
850c00dbba
drone exec and drone agent now share code
2016-05-10 17:03:24 -07:00
Brad Rydzewski
3d05659134
simplify build engine for reliability
2016-05-09 22:57:57 -07:00
Brad Rydzewski
a7d3873891
removed import that was mistakenly auto-added
2016-05-02 17:52:34 -07:00
Brad Rydzewski
f930545410
refactoring github package to increase test coverage
2016-05-02 17:47:58 -07:00
Brad Rydzewski
0fb4aeda3f
bump to 0.5 in master
2016-05-02 12:21:25 -07:00
Brad Rydzewski
53eac09f34
added org and open registration
2016-05-01 17:33:22 -07:00
Brad Rydzewski
ebd547deac
refactoring remotes to remove deprecated variables, adding tests
2016-05-01 16:30:00 -07:00
Brad Rydzewski
082570fb5b
refactoring input and configuration
2016-04-29 12:39:56 -07:00
Brad Rydzewski
30eed8723d
moved all remaining files under designated structure
2015-05-17 14:25:04 -07:00
Brad Rydzewski
e3f0a39761
moving more data under pkg dir
2015-05-17 13:51:42 -07:00
Brad Rydzewski
f6b0c0cd9c
fix failed unit test caused by restructuring
2015-05-17 11:48:02 -07:00
Brad Rydzewski
40a9543c0c
moving remote pkg per new multi-binary structure
2015-05-17 11:45:09 -07:00
Brad Rydzewski
137fb62e85
moving queue package
2015-05-17 11:42:56 -07:00
Brad Rydzewski
f58b48d329
moved yaml parsing to yaml package
2015-05-17 11:36:12 -07:00
Brad Rydzewski
4c847296d4
refactoring toward multi-binary project layout
2015-05-17 11:10:43 -07:00
Brad Rydzewski
2e9786c68e
prevent hanging event source connections
2015-05-16 20:35:41 -07:00
Brad Rydzewski
b3951043a0
temp workaround to get Drone correctly stream SSE events
2015-05-16 20:08:32 -07:00
Brad Rydzewski
27aadca029
upgraded to latest version of gin to take advantage of SSE
2015-05-16 19:46:12 -07:00
Brad Rydzewski
64663e9742
fixed some build issues
2015-05-16 17:46:29 -07:00
Brad Rydzewski
28061efeea
sets default build timeout
2015-05-15 17:19:15 -07:00
Brad Rydzewski
1ef6dc0bc6
persist self url in repo field
2015-05-12 23:58:30 -07:00
Ben Schumacher
01eae26623
Fix Datastore mock and badge_test.go
2015-05-12 11:06:00 -06:00
Brad Rydzewski
7762ecac90
always display sub-build list
2015-05-11 00:53:56 -07:00
Brad Rydzewski
85256d3a22
backported 0.4 changes to existing database
2015-05-11 00:45:31 -07:00
Brad Rydzewski
d07c0cb80d
github status api
2015-05-09 20:46:32 -07:00
Brad Rydzewski
7f162c80b9
post-commit hook should trigger commit status update
2015-05-09 20:14:01 -07:00
Brad Rydzewski
fb2999c35d
include private key in json, manually scrub from rest responses
2015-05-09 12:54:38 -07:00
Daniel Oliveira
ba159976a0
Fixing TODO comments in code /cc @oliveiradan
...
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails.
2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist.
3. server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
4. remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
5. ./server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
6. .remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
2015-05-08 10:47:40 -06:00
Brad Rydzewski
0034c12141
initial work on build cancellation
2015-05-06 01:24:55 -07:00
Brad Rydzewski
f82c8ff6d7
ability to stream builds
2015-05-06 00:56:06 -07:00
Brad Rydzewski
091f0e9918
fixed some race conditions and cpu locking
2015-05-05 20:59:07 -07:00
Brad Rydzewski
80d8d10c15
ws improvements
2015-05-05 20:26:57 -07:00
Brad Rydzewski
cf27863841
temporarily replace bson with gob
2015-05-05 20:22:02 -07:00
Brad Rydzewski
fa07d82461
pre-marshal websocket message to avoid possible race
2015-05-05 19:46:26 -07:00
Brad Rydzewski
204fba9018
some initial work on a builtin build runner
2015-05-05 01:04:20 -07:00
Brad Rydzewski
51e995e0a1
more mock examples
2015-04-30 22:48:15 -07:00
Brad Rydzewski
9c882c1a9e
table-driven tests for badge permutations
2015-04-30 22:18:39 -07:00
Brad Rydzewski
acc6bb76ee
minor restructuring
2015-04-30 21:20:59 -07:00
Brad Rydzewski
0690a85bd3
Merge pull request #994 from benschumacher/testify-mocks
...
Alternative pattern for API unit tests (versus #991 )
2015-04-30 21:07:21 -07:00
Brad Rydzewski
3a4772cbe6
added favicon
2015-04-30 19:14:42 -07:00
Brad Rydzewski
779c1c06d3
agent endpoints now protected
2015-04-30 14:57:53 -07:00
Brad Rydzewski
0dc79e5886
page to get token for workers
2015-04-30 14:41:52 -07:00
Brad Rydzewski
6fcae7d80a
hooks are protected with signed sha
2015-04-30 14:23:46 -07:00
Brad Rydzewski
64cc684295
added error message when cannot create repo
2015-04-30 11:01:46 -07:00
Brad Rydzewski
371a64ef6a
hook honors branch filter
2015-04-30 10:39:16 -07:00
Brad Rydzewski
543a46a755
contacts agent to cancel build
2015-04-30 00:42:23 -07:00
Brad Rydzewski
3863617056
allow websocket connections cross-origin
2015-04-30 00:24:39 -07:00
Brad Rydzewski
77246cc9c9
hide build output when pending
2015-04-30 00:20:48 -07:00
Brad Rydzewski
ad80facbbd
websocket output working
2015-04-29 19:57:43 -07:00
Brad Rydzewski
7a75a17535
ability to visit public repos when not authenticated
2015-04-29 16:08:21 -07:00
Brad Rydzewski
f740bf91cf
don't display logs when build is killed
2015-04-28 16:36:13 -07:00
Brad Rydzewski
7649248385
hooked up restart, cancel in user interface
2015-04-28 16:27:30 -07:00
Brad Rydzewski
864a47f502
added error messages to login flow
2015-04-28 16:08:20 -07:00
Brad Rydzewski
b84943222b
get netrc data when hook is triggering
2015-04-28 15:08:21 -07:00
Ben Schumacher
52b441527c
Fix spelling mistake
2015-04-28 15:57:56 -06:00
Ben Schumacher
0e53778d22
Badge API tests
2015-04-28 15:42:09 -06:00
Ben Schumacher
e033a1a4a5
Alternative pattern for API unit tests
2015-04-27 15:48:21 -06:00
Daniel Oliveira
4ade23e8ac
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-27 10:41:25 -06:00
Brad Rydzewski
65105d06c2
queue polling not correctly handles client disconnect
2015-04-26 23:49:38 -07:00
Daniel Oliveira
4e53cc184e
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-25 22:40:36 -06:00
Brad Rydzewski
96b49cf0fc
website subscribes to build events, update pages
2015-04-25 21:27:24 -07:00
Brad Rydzewski
712c18459f
serving the index.html page from bindata
2015-04-25 16:43:51 -07:00
Brad Rydzewski
3b7c9738a3
ability to squash and embed static files
2015-04-25 16:16:56 -07:00
Daniel Oliveira
707b0e3e13
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-24 18:21:19 -06:00
Daniel Oliveira
abc83303ee
solve build.go conflict
2015-04-24 18:19:48 -06:00
Brad Rydzewski
a1f3b2da4d
got websocket events working
2015-04-24 17:06:46 -07:00
Brad Rydzewski
da350989d3
fixed minor queue glitches
2015-04-24 14:25:03 -07:00
Daniel Oliveira
987e85f261
About this commit:
...
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 13:39:36 -06:00
Daniel Oliveira
4edf385d1c
About this commit:
...
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 12:15:17 -06:00
Brad Rydzewski
d2776bc990
added code for remote queue plugin
2015-04-22 01:00:15 -07:00
Brad Rydzewski
b16759b0b6
code to inject private params
2015-04-21 15:48:48 -07:00
Brad Rydzewski
7a668b79c7
preparation for parsing build output to ansi format
2015-04-21 15:48:26 -07:00
Brad Rydzewski
79b83025a8
added cluster in place of pool, some other minor changes
2015-04-21 15:48:06 -07:00
Brad Rydzewski
3520a295d5
added terminal highlight code
2015-04-16 22:16:32 -07:00
Brad Rydzewski
43381827b9
stubs for restarting, canceling builds
2015-04-16 22:07:13 -07:00
Brad Rydzewski
fd5a017384
added public key to repo settings
2015-04-16 15:15:05 -07:00
Brad Rydzewski
c4279678e8
only fetch logs if build finished
2015-04-16 15:05:00 -07:00
Brad Rydzewski
5f35f46c24
embedded task and status in build struct
2015-04-16 14:45:05 -07:00
Brad Rydzewski
110af2a196
using gravatar library instead of our own built-in func
2015-04-16 00:31:17 -07:00
Brad Rydzewski
433159e990
hook now calculates build matrix and creates appropriate tasks
2015-04-16 00:24:53 -07:00
Brad Rydzewski
c324d66872
ability to pull list of orgs and verify membership
2015-04-15 00:20:00 -07:00
Brad Rydzewski
0c3f9e5bde
REST cleanup. Idiomatic naming of datastore funcs
2015-04-14 22:04:38 -07:00
Brad Rydzewski
1ad5e3f597
repo subscriptions functioning in datastore w/ index
2015-04-13 21:39:05 -07:00
Brad Rydzewski
aebacfccd7
fixed token expiration calculation
2015-04-13 19:11:33 -07:00
Brad Rydzewski
a40d20dcdb
check token expiry
2015-04-13 19:07:05 -07:00
Brad Rydzewski
d1d762aa83
fail to generate user tokens if no secret
2015-04-13 18:43:21 -07:00
Brad Rydzewski
6c3f99065a
ability to manage user tokens via website
2015-04-13 16:33:29 -07:00
Brad Rydzewski
57188ee4f2
ability to manage tokens
2015-04-13 01:22:51 -07:00
Brad Rydzewski
701626881e
ability to create a token
2015-04-12 23:15:28 -07:00
Brad Rydzewski
54e4250df9
ability to limit (or not) the log output
2015-04-12 23:08:55 -07:00
Brad Rydzewski
66990a95b4
initial work on tokens
2015-04-12 22:32:32 -07:00
Brad Rydzewski
0f60073adc
session tokens converging with user tokens
2015-04-12 21:35:16 -07:00
Brad Rydzewski
eda3cfbe4b
added logging when login or hook fails. helps troubleshoot common issues
2015-04-11 15:46:30 -07:00
Brad Rydzewski
087f92f41f
tokens, last build
2015-04-10 22:22:55 -07:00
Brad Rydzewski
950e4f4090
storing user repos index inside users object, for now
2015-04-08 22:18:25 -07:00
Brad Rydzewski
c9edd1a018
source session secret from config file
2015-04-08 16:36:56 -07:00
Brad Rydzewski
89c95f4f00
add token,secret when creating user
2015-04-08 15:54:08 -07:00
Brad Rydzewski
9298f16155
added handlers, rest, angular skeleton
2015-04-08 15:43:59 -07:00
Brad Rydzewski
d9fd23a6df
experimental branch. playing around with boltdb
2015-04-07 01:20:55 -07:00
Samuel ROZE
d69494163a
Supports to default ANSII styles
2015-03-31 14:55:54 +02:00
Tobias Haar
c65c0297b3
fixed typo in log statement
2015-03-20 09:47:24 +00:00
Blake Mesdag
532796a532
Sync logging should use repo.Owner not user.Login
2015-03-18 13:52:25 -04:00
Daniel Malon
447cf710af
Add configurable assets folder
...
This adds a server-assets-folder configuration which allows overriding the assets bundled to the binary.
2015-02-26 22:22:16 +00:00
Andy Gardner
fbc701f22b
Fixing formatting with gofmt
2015-02-26 10:22:06 +02:00
Andy Gardner
9ab07d7cd7
Including repo.role for non admins to allow rebuild button to display
2015-02-25 16:50:47 +02:00
Brad Rydzewski
293d503cad
quick patch that lets someone with write access restart a build
2015-02-23 23:43:17 -08:00
Vsevolod Strukchinsky
83e03c1257
Do not request Read permission for public repo
...
Closes #882
2015-02-21 21:47:40 +05:00
Kirill Zaitsev
8d6a233744
Limit and Offset params for commits
2015-02-13 23:37:21 +03:00
Brad Rydzewski
baecced414
Merge pull request #866 from ulrichSchreiner/delrepo
...
Delete Repository in Drone DB
2015-02-12 10:53:04 -08:00
Andy Gardner
f64bb1df9b
Implementing angular-moment to automatically update dates / durations
2015-02-12 12:18:12 +02:00
Ulrich Schreiner
46251ffa92
remove builtin log package and use standard
2015-02-12 08:41:04 +01:00
Ulrich Schreiner
aeb6895115
change the deactivate endpoint to HTTP-POST
2015-02-11 07:56:22 +01:00
Ulrich Schreiner
6158426511
Merge branch 'master' of github.com:drone/drone into delrepo
2015-02-11 07:24:01 +01:00
Cédric Krier
da2f04480c
run go fmt ./...
2015-02-09 19:59:39 +01:00
Cédric Krier
a5218b38a6
Add STS header when TLS
2015-02-09 19:53:52 +01:00
Ulrich Schreiner
21f58ee2fb
Merge branch 'master' into delrepo
2015-02-09 07:19:06 +01:00
Brad Rydzewski
66cf15d2d9
fixed rice issue again
2015-02-06 08:40:59 -08:00
Ulrich Schreiner
5f9887a49c
Merge branch 'master' into delrepo
2015-02-06 10:30:10 +01:00
Brad Rydzewski
271974e98f
fixed go.rice issue
2015-02-05 18:48:16 -08:00
Ulrich Schreiner
ae236a3d4d
reworked to have two distinct REST handlers
2015-02-05 15:27:26 +01:00
Ulrich Schreiner
05b6dad81e
Merge branch 'master' into delrepo
2015-02-05 14:47:35 +01:00
Ulrich Schreiner
bd8fb51c2a
rework to delete the repository from the datastore if there are previous errors from the remote
2015-02-05 13:13:17 +01:00
Brad Rydzewski
64aeeff3ae
Merge pull request #856 from Bugagazavr/gitlab-ouath
...
Refresh only expired tokens
2015-02-04 22:11:14 -08:00
Ulrich Schreiner
347aa24785
remove Printf output and do a real removal of the repository in the datastore
2015-02-04 15:13:23 +01:00
Ulrich Schreiner
0ed7ae7e3f
impelement a delete of a repository
2015-02-04 14:42:24 +01:00
Kirill Zaitsev
6ca94970d6
Refresh only expired tokens
2015-02-04 13:18:46 +03:00
Kirill Zaitsev
a354aabbb0
Response as JSON instead plain text
2015-02-01 14:12:32 +03:00
Brad Rydzewski
2f76696226
Merge pull request #857 from andy-g/list_view
...
Adding a list-view layout
2015-01-29 21:40:18 -08:00
epipho
717bef75dd
Adding test for get build number. Moved build number env build injection
2015-01-28 23:39:09 -05:00
epipho
5f8b026d14
All builds now have a per-repository monotonically increasing build number accessible via DRONE_BUILD_NUMBER
...
and CI_BUILD_NUMBER env variables.
2015-01-28 21:13:22 -05:00
Andy Gardner
5ea14a73af
Adding a list-view layout
2015-01-28 14:15:20 +02:00
Brad Rydzewski
350d056d34
Merge pull request #832 from andy-g/live_commit_update
...
Make live updates to the commits (repo controller) without needing to reload
2015-01-26 22:40:46 -08:00
Kirill Zaitsev
d225181a0f
Refresh tokens before any requests to remote
2015-01-27 02:33:27 +03:00
Kirill Zaitsev
f47ab27702
Gitlab oauth login
2015-01-23 22:28:24 +03:00
Andy Gardner
8f93561f04
Merge branch 'master' into live_commit_update
2015-01-23 12:31:12 +02:00
Andy Gardner
77e059ae98
Exclude Pull Requests from the branches.
...
Currently they are included because the AngularJS "filter" filter defaults to a substring match rather than a strict equality comparison, so filtering by '' includes everything.
https://docs.angularjs.org/api/ng/filter/filter
2015-01-22 11:33:10 +02:00
Andy Gardner
3e1b3c5871
Only live update for existing builds
...
The build message will only be displayed for new builds as the new item will not be auto updated, if the build has been auto-updated no build message will be displayed.
2015-01-22 10:53:10 +02:00
Andy Gardner
217cf0bc23
Make live updates to the commits without needing to reload
2015-01-20 15:13:53 +02:00
Brad Rydzewski
c8ac57c2ba
Merge pull request #827 from bradrydzewski/master
...
partial fix for issue #812
2015-01-16 22:17:23 -08:00
Brad Rydzewski
b8b01c2db4
partial fix for issue #812
2015-01-16 22:11:36 -08:00
Matt Bostock
c48c6ebc88
Remove capability package
...
It's no longer used. This commit can always be reverted later if it's
needed again.
2015-01-16 22:05:23 +00:00
Matt Bostock
307aed12bc
Move open registration setting into remote plugins
...
...so that it's possible to enable or disable open registration on a
per-remote basis.
For example, the `DRONE_REGISTRATION_OPEN` environment variable now
becomes `DRONE_GITHUB_OPEN` when using GitHub as a remote.
The default for open registration in this commit is `false` (disabled),
which matches the existing behaviour.
This is useful if you need to support both public and private remotes,
e.g. GitHub.com and GitHub Enterprise, where you trust all of the
private users and want to allow open registration for those but would
not want all GitHub.com users to run builds on your server.
Tested with GitHub and GitLab.
2015-01-16 22:04:24 +00:00
Brad Rydzewski
768b299543
fixed incorrect method for GetRepo in Drone client
2015-01-15 00:22:33 -08:00
Brad Rydzewski
dac460f488
Merge pull request #813 from bradrydzewski/master
...
fixed dependency issue w/ gopkg.in
2015-01-13 23:36:38 -08:00
Brad Rydzewski
59fe6dfbef
Merge pull request #710 from nils-werner/usefulhomepage
...
Slightly more useful homepage
2015-01-13 21:58:52 -08:00
Brad Rydzewski
d0b722cc8b
Insert and Update Users instead of generic Save function. Check ID != 0
2015-01-13 21:57:02 -08:00
Brad Rydzewski
1627d5f5da
Merge pull request #802 from Bugagazavr/bintray
...
Bintray
2015-01-13 09:10:50 -08:00
Kirill Zaitsev
ef3fba75a9
Version from file
2015-01-12 20:00:36 +03:00
Brad Rydzewski
aed6f17db6
Merge pull request #803 from andy-g/fix_commit_grouping_by_branch
...
Fixing an issue with branch grouping due to substring matching
2015-01-12 08:10:42 -08:00
Andy Gardner
fc014768f1
Fixing an issue with branch grouping due to substring matching
2015-01-12 16:09:55 +02:00
Matt Bostock
6534bc79b4
Clarify 'sync running' message
...
Improve the grammar of the 'sync already runned' message to 'sync
already in progress', which should clarify what is happening when this
message is displayed.
2015-01-12 14:02:48 +00:00
ap4y
a6278f35fb
Enforce word breaks in terminal output
2015-01-06 00:31:21 +13:00
Brad Rydzewski
baaaa4069e
Merge remote-tracking branch 'upstream/master'
2014-12-30 10:58:59 -08:00
Brad Rydzewski
485ddb39a5
Merge remote-tracking branch 'upstream/master'
2014-12-30 10:35:50 -08:00
Brad Rydzewski
76fd8b0d66
only inject ssk key if private repository or pull request
2014-12-30 10:35:44 -08:00
Michael Nutt
0106a5e21d
no longer need to limit Prior commit to those that have status Success or Failure
2014-12-30 13:29:38 -05:00
Michael Nutt
b94280c15c
Change from notification after_success
and after_failure
to change
...
Also removes the extra db field; instead, just send Prior as part of the Request.
This reverts commit e8b993e7da
.
2014-12-30 13:25:14 -05:00
Michael Nutt
e8b993e7da
Add support for after_success and after_failure to email notifications
...
This allows you to restrict email notifications to only be sent after the build changes from success to failure or failure to success. It errs on the side of sending the notification; if the build is in another state (hung, for instance) or there was no previous build on the branch the email will also be sent.
Since the notify plugin shouldn't really have any responsibility for querying the database to find the previous commit's status, we store it on the commit when we save it.
2014-12-30 11:37:57 -05:00
Michael Steinert
441de03fb9
Serve robots.txt
from /
...
This change allows `robots.txt` to be served from the root URL, i.e.
https://drone.io/robots.txt , which is where [web crawlers will look for
it][1]. Previously this file was only served from `/static/robots.txt`.
[1]: http://www.robotstxt.org/robotstxt.html
2014-12-24 13:03:08 -06:00
Kirill Zaitsev
12baa7a81a
Fix docker TLS, update readme and config file
2014-12-10 18:39:46 +03:00
Brad Rydzewski
61282888e1
improve permission logic
2014-11-21 22:41:32 -08:00
Christopher Brickley
270ce52b76
add gogs support
2014-11-18 21:50:05 -05:00
Nils Werner
dceb83564b
Slightly more useful homepage
...
With more active repos and a more sensible view
of inactive repos
2014-11-17 23:04:58 +01:00
Brad Rydzewski
49a9c33dc9
Merge pull request #705 from bradrydzewski/master
...
ability to handle options requests
2014-11-17 13:44:28 -08:00
Nils Werner
fdfceedb7d
Removed commit List User limit
2014-11-16 14:34:54 +01:00
Brad Rydzewski
2302d74465
ability to handle options requests
2014-11-15 22:15:22 -08:00
Nils Werner
ceae6d5bfe
Use join instead of subquery
2014-11-15 16:10:44 +01:00
Brad Rydzewski
2ad8fe67bb
updated to use new documentation link
2014-11-13 07:54:54 -08:00
Scott Ferguson
fa003af8cf
Add feed route
2014-11-11 10:02:31 -06:00
Scott Ferguson
44518e2015
Wall feed
2014-11-11 10:02:18 -06:00
Brad Rydzewski
6165030ab5
prevent panic when replaying on closed channel
2014-11-10 21:13:18 -08:00
Brad Rydzewski
0ec2a65067
added docs to README
2014-11-10 00:24:47 -08:00
Brad Rydzewski
2c75f225d9
Merge pull request #600 from netantho/netantho-584
...
Fixes #584
2014-11-06 23:55:32 -08:00
Christopher Brickley
e4e7773644
update to new goji wildcard format
2014-11-04 16:28:17 -05:00
Brad Rydzewski
8d5ac0004f
CC should return not fount 404
2014-11-01 11:58:56 -07:00
Brad Rydzewski
20dfd3d70b
Merge pull request #647 from rkusa/badge-style
...
add flat and flat-square badge styles
2014-11-01 11:55:56 -07:00
Brad Rydzewski
f3eb93ca18
Merge remote-tracking branch 'upstream/master'
2014-10-31 20:06:13 -07:00
Brad Rydzewski
27557988f8
added logging to page when adding / removing repos
2014-10-31 20:00:58 -07:00
Markus Ast
399ac68356
add flat and flat-square badge styles
2014-10-30 21:45:57 +01:00
Scott Ferguson
be9e65ba68
Show pending/started builds in /api/user/feed
2014-10-30 08:35:19 -05:00
Scott Ferguson
dddb5af87d
Revert "Add verbose user repo feed"
...
This reverts commit cbfe6228ee
.
2014-10-30 08:26:49 -05:00
Scott Ferguson
cbfe6228ee
Add verbose user repo feed
2014-10-29 13:44:16 -05:00
Brad Rydzewski
786cdc886b
Merge pull request #646 from rkusa/autoprefixer
...
add vendor prefixes to CSS using autoprefixer
2014-10-29 08:55:14 -07:00
rkusa
db06a6cc83
fix badge branch selection
2014-10-29 12:20:32 +01:00
rkusa
6f99e8f5f4
add vendor prefixes to CSS using autoprefixer
2014-10-29 10:33:07 +01:00
Brad Rydzewski
992136ea4d
Merge pull request #641 from daMupfel/commit_controller_refactoring
...
small refactoring commit controller
2014-10-28 20:53:18 -07:00
Brad Rydzewski
e34d83b3b8
Merge pull request #642 from Bugagazavr/sync
...
Allow sync manually, instead force sync at ever login
2014-10-28 20:41:50 -07:00
Kirill Zaitsev
eef53530c1
Allow sync manually, instead force sync at ever login
2014-10-28 19:51:54 +03:00
Brad Rydzewski
37e640fb60
Merge pull request #640 from floatdrop/master
...
Update drone.css to enable affix sidebar
2014-10-28 08:35:12 -07:00
Eichin David
50e368c24a
refactoring commit controller
...
fixed bug where include of pr template raised angularjs error
2014-10-28 15:39:14 +01:00
Vsevolod Strukchinsky
a6a875d76c
Update drone.css to enable affix sidebar
2014-10-28 14:44:43 +05:00
Kirill Zaitsev
459759370f
Show pull request link, when commit related with pull request
2014-10-28 03:21:19 +03:00
Sam Rawlins
4949608980
Affix the sidebar
2014-10-27 12:58:34 -07:00
Brad Rydzewski
275fb9600c
Merge pull request #631 from bradrydzewski/master
...
altered mysql to use `mediumblob` instead of `blob` to avoid 64k limit
2014-10-26 10:21:34 -07:00
Brad Rydzewski
cbd5ef2874
altered mysql code to use mediumblob
instead of blob
to avoid 64k limit
2014-10-26 10:17:17 -07:00
Eichin David
961c53f6cf
hide rebuild button if in Started or Pending state
2014-10-26 01:33:54 +02:00
Eichin David
2d74e4ed04
quick fix for reloading page if succesfully started a rebuild of a commit
2014-10-26 01:33:46 +02:00
Eichin David
6359da3296
fixed missing live console output bug on rebuild
2014-10-24 23:25:56 +02:00
Brad Rydzewski
1cb74a90e3
Merge pull request #599 from bradrydzewski/remote-workers
...
Updated Docker Client to accept TLS
2014-10-22 23:50:43 -07:00
Brad Rydzewski
3cd1631c05
updated README
2014-10-22 23:23:05 -07:00
Brad Rydzewski
4f30e1388c
only generate repo token or key if not exists
2014-10-22 01:02:14 -07:00
Brad Rydzewski
601e3e6d48
slightly altered the URL token format
2014-10-22 00:41:25 -07:00
Brad Rydzewski
f6cbb7244b
forgot to remove setup.go
file in migration package
2014-10-22 00:26:52 -07:00
Brad Rydzewski
7009778176
added token to post-commit hooks
2014-10-22 00:13:47 -07:00
Anthony Verez
b444748b6c
Fixes #584
2014-10-20 21:26:43 +02:00
Brad Rydzewski
07e0b7d2b1
minor session refactoring in prep for upcoming changes discussed in #590
2014-10-19 22:45:32 -07:00
epipho
521cf4e8c9
Exit app if config cannot be read correctly
2014-10-18 22:26:29 -04:00
Daniel Graña
9422077626
access_token query param is in JWT format
2014-10-17 12:16:01 -02:00
Brad Rydzewski
fba952696d
adding logging to WS layer until it is more stable
2014-10-16 21:45:21 -07:00
Brad Rydzewski
e49b81e7a4
updated Makefile to create packaging/output
during build step
2014-10-16 20:40:26 -07:00
Brad Rydzewski
cc71957c8d
moving websockets to subrouter
2014-10-16 11:35:25 -07:00
Brad Rydzewski
b1300be9f0
fixed word wrap on user settings screen
2014-10-16 00:00:31 -07:00
Brad Rydzewski
c86c2ed237
fixed formatting issue on repo edit screen
2014-10-15 23:58:34 -07:00
Brad Rydzewski
830d3d7d9e
removed settings link
2014-10-15 19:27:01 -07:00
Brad Rydzewski
2f6b209174
adding auth_token to ws request
2014-10-15 08:46:37 -07:00
Brad Rydzewski
a55f0f8432
set created & updated dates in database
2014-10-14 01:49:10 -07:00
Brad Rydzewski
a2dadfd6a6
added log message when user attempts to login but registration closed
2014-10-13 21:30:12 -07:00
Brad Rydzewski
782914b46f
fixed logout
2014-10-13 21:10:55 -07:00
Brad Rydzewski
ff82ed2454
removed debug statements from websocket
2014-10-13 21:10:48 -07:00
Brad Rydzewski
2c122fa891
fix for #554 and #552
2014-10-13 19:33:42 -07:00
Brad Rydzewski
0221442828
less confusing language after activating repository, per #545
2014-10-12 21:52:55 -07:00
Brad Rydzewski
4e5b850c8d
altered language for setting up a drone.yml after activating repo
2014-10-12 21:47:42 -07:00
Ciaran Downey
850fbd170a
Add JSON struct tags to Work for lowercase props
2014-10-12 20:02:54 -07:00
Brad Rydzewski
3d839498a1
Merge pull request #539 from mjschultz/add-follow
...
Add follow button to stdout
2014-10-12 18:12:20 -07:00
Brad Rydzewski
629547813c
modified parameter injection strategy. see #538
2014-10-12 13:02:53 -07:00
Michael J. Schultz
e0ad97ff97
Add follow button to stdout
...
- fixed position in stdout window for easy clicking on fast scroll output
2014-10-12 19:33:28 +00:00
Michael J. Schultz
bb8c64b157
Update API endpoint for websockets
2014-10-12 19:33:28 +00:00
Michael J. Schultz
e6ce9b8aec
Remove trailing / for rebuild button
2014-10-12 19:33:28 +00:00
Brad Rydzewski
cd1fbe5d85
ability to customize the session secret and expiration
2014-10-11 20:33:06 -07:00
Brad Rydzewski
69580a26c7
change source to datasource, for consistency with Go standard lib
2014-10-11 16:34:53 -07:00
Brad Rydzewski
167eb21b21
modified Docker plugin to use new Condition struct to limit execution
2014-10-11 14:35:06 -07:00
Brad Rydzewski
2080cd3309
hooked up SSL in exp branch
2014-10-11 14:30:51 -07:00
Brad Rydzewski
7a7c5a9c0d
added package for routes in an attempt to cleanup main.go
2014-10-09 20:26:51 -07:00
Brad Rydzewski
839b578228
removed User checks from handler because middlware has our back
2014-10-09 20:26:32 -07:00
Brad Rydzewski
598c553c3f
badge content-type was in wrong function
2014-10-09 20:26:03 -07:00
Brad Rydzewski
ecdd001811
prevent PRs from being displayed in build badge
2014-10-09 19:03:11 -07:00
Brad Rydzewski
17d773fac0
ability to add and remove workers
2014-10-08 21:55:53 -07:00
Brad Rydzewski
33721e54aa
endpoint to post a new worker to the pool
2014-10-08 21:44:43 -07:00
Brad Rydzewski
962aa8e968
fixed issue with Role not being returned when getting repo
2014-10-08 21:28:06 -07:00
Brad Rydzewski
bb218a6268
Merge remote-tracking branch 'origin/exp' into exp
2014-10-08 20:59:07 -07:00
Brad Rydzewski
7a0a2235b9
added logging to handler to identify errors
2014-10-08 20:57:57 -07:00
Brad Rydzewski
beb009388c
added error messaging to login for debug purposes
2014-10-08 20:56:52 -07:00
Vsevolod Strukchinsky
b854911d23
Add image/svg+xml content-type to badge handler
2014-10-08 16:59:49 +06:00
Brad Rydzewski
8c80f179bd
fixed incorrect url prefix /v1
2014-10-07 07:57:01 -07:00
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