James Lopez
ed39d61d74
refactor events facade so it uses separate classes and refactor query stuff
2016-11-17 13:22:27 +01:00
James Lopez
cbd7d00039
added custom date helper and spec and fixed some unrelated spec failures
2016-11-17 08:22:59 +01:00
James Lopez
cf2dcf043c
Refactor all query config stuff into separate classes and added specs
2016-11-17 08:22:59 +01:00
James Lopez
73e9ec6319
serialize all the things!
2016-11-17 08:22:58 +01:00
James Lopez
8743e59f78
get all stages to use serlalizers - apart from plan - WIP
2016-11-17 08:22:58 +01:00
James Lopez
f560099751
fix issue events and related spec - now using generic serializer for a hash
2016-11-17 08:22:58 +01:00
James Lopez
3b179bc37b
WIP - refactored events to use build serializer, related spec passing
2016-11-17 08:22:58 +01:00
James Lopez
7ac7cfeb75
refactored and added missing spec to light URL builder
2016-11-17 08:22:57 +01:00
James Lopez
83130ae877
Updated production events with new fields
2016-11-17 08:22:57 +01:00
James Lopez
beeb64610e
Refactored staging events, added missing fields and fixed specs
2016-11-17 08:22:57 +01:00
James Lopez
bd31f24c54
Added branch option to test events
...
Also fixed test events ordering issue
2016-11-17 08:22:57 +01:00
James Lopez
eccb6a5e92
Refactored test events
...
Now test events return the builds instead a list of pipelines to avoid calling pipeline.builds per each and get the info. Also, added missing fields/data, URLs, and fixed specs in events spec.
2016-11-17 08:22:57 +01:00
James Lopez
11bad33a42
added missing fields to code events and updated spec
2016-11-17 08:22:57 +01:00
James Lopez
1b5b2eac22
added missing fields to plan events and updated spec
2016-11-17 08:22:56 +01:00
James Lopez
8f7266cd4b
added missing fields to issue. Also, added a light url builder to add URLs easily from arel. Updated specs.
2016-11-17 08:22:56 +01:00
James Lopez
ca9ae8bf63
add email to user related queries so it can be used for displaying avatar in the UI
2016-11-17 08:22:56 +01:00
James Lopez
3cdc9af78e
added production events and related spec
2016-11-17 08:22:55 +01:00
James Lopez
1f701cb5e2
added staging events and spec
2016-11-17 08:22:55 +01:00
James Lopez
f8acc7ea77
fixing spec failures
2016-11-17 08:22:55 +01:00
James Lopez
d99cec7f55
review events - spec and logic
2016-11-17 08:22:55 +01:00
James Lopez
ebd5ced7eb
Added test events specs and logic. Also fixed some SQL and refactored the pipeline worker spec.
2016-11-17 08:22:55 +01:00
James Lopez
1a4ff5d720
Added code events spec and logic. Also fixed SQL issues and refactored the code a bit.
2016-11-17 08:22:55 +01:00
James Lopez
72660d58af
plan events and spec working. Also added some TODOs to the code.
2016-11-17 08:22:54 +01:00
James Lopez
3b5d947730
commit events and spec
2016-11-17 08:22:54 +01:00
James Lopez
1d6068a1c3
fix specs - issue events working
2016-11-17 08:22:54 +01:00
James Lopez
c545968ece
fix timestamp diff and spec
2016-11-17 08:22:54 +01:00
James Lopez
847d2796cf
fixed spec and SQL query
2016-11-17 08:22:54 +01:00
James Lopez
470e39d64f
WIP - refactored some arel queries
2016-11-17 08:22:54 +01:00
James Lopez
ec7db295d2
Started refactoring stuff to add events to cycle analytics
...
- Refactored cycle analytics class to extract DB logic
- Reuse logic in new events fetcher
- Started adding cycle analytics events class and spec (still not functional)
2016-11-17 08:22:54 +01:00