Commit graph

94 commits

Author SHA1 Message Date
Absurdon
8dce3c8d6b
Added contributor flag to api spec 2019-11-13 00:20:18 +01:00
Prommah
8717173797 Return error in JSON for users API 2017-10-01 19:22:52 +02:00
Prommah
56087b09f3 404 bad user API requests & spec 2017-10-01 19:22:52 +02:00
Absurdon
6eae7330dd disabling calendar tests for now as they dont fit the new implementation anymore 2017-04-03 02:10:38 +02:00
Michael Senn
38ac72f01e Adjust user API specs to expect users without assigned teams.
In  d5d804a56f, the user API was changed to
also return users without an assigned team, but specs were not adjusted.
2017-02-24 17:53:25 +01:00
Chris Blanchard
24c825e2c9 Add teams api 2016-04-17 00:05:18 +01:00
Prommah
66fe8c0726 Fix styling 2015-11-08 23:09:56 +00:00
Prommah
dd899cddb0 Spec tidying 2015-11-07 06:21:31 +00:00
Prommah
b55ff01ff5 Add match-related factories 2015-11-07 06:21:09 +00:00
Prommah
9b2ba68551 Add new user API spec 2015-11-03 07:50:14 +00:00
Prommah
d976acb759 Update deprecated spec_helper code & styling 2015-10-29 22:02:29 +00:00
simplefl
b0b0770f10 Merge pull request #64 from Prommah/user-api-steamid
Allow querying of the user API with SteamIDs
2015-10-28 18:12:00 +01:00
Prommah
86fb1b46d8 Update users_controller_spec.rb 2015-10-28 16:44:00 +00:00
Prommah
dcab4355c1 Update user API spec for new values & SteamID queries 2015-10-28 16:11:01 +00:00
Prommah
a96949340a Don't show anything for blank profile values. 2015-10-28 02:32:45 +00:00
Chris Blanchard
bfc79cddcb Return moderator status with users api 2015-10-20 18:11:46 +01:00
Chris Blanchard
95deb32e05 Added moderator group 2015-10-20 18:04:50 +01:00
Prommah
27aebc2a29 Fix styling and tidy validations 2015-09-24 10:19:00 +01:00
Prommah
a42abfa430 Add test for nil SteamID 2015-09-24 07:15:49 +01:00
Prommah
a52ce6fb9a Add SteamID range spec 2015-09-24 06:58:21 +01:00
Prommah
ff1061272c Return null steam data for previously invalid SteamIDs 2015-09-24 03:16:35 +01:00
simplefl
c128833f8f Merge pull request #56 from cblanc/expose_new_gathers
Expose new gathers
2015-09-18 17:05:01 +02:00
Chris Blanchard
f28d1e2f84 Fix topic spec 2015-09-18 14:42:57 +01:00
simplefl
e774f38bf5 Merge pull request #55 from ENSL/develop
Develop
2015-09-06 11:58:31 +02:00
Chris Blanchard
bafb67f702 Rewrite recent_topic sql to return unique topics on subquery 2015-09-05 16:23:50 +01:00
Luke Barratt
2901f815e4 Merge branch 'develop' 2015-08-31 16:33:11 +01:00
Chris Blanchard
66fc2c3220 Return steamid to users api 2015-08-30 15:58:06 +01:00
Chris Blanchard
fc0d62d110 Fix style 2015-08-27 18:49:47 +01:00
Chris Blanchard
3694832277 Show stream information on user page 2015-08-27 18:47:26 +01:00
simplefl
817f32ce90 Merge pull request #42 from cblanc/fix_users_api
Fix users api
2015-08-23 21:33:57 +02:00
Chris Blanchard
9ba7f4b0d1 Add filter to recent topics 2015-08-22 10:48:08 +01:00
Chris Blanchard
a0318805e7 Annotate & fix style 2015-08-20 19:36:01 +01:00
Chris Blanchard
5f53893756 Added forumer exclusion on recent_topics 2015-08-20 19:33:22 +01:00
Chris Blanchard
e34d21dd00 Added initial forumer test 2015-08-20 18:11:29 +01:00
Chris Blanchard
8074f0c3aa Style fix 2015-08-20 16:35:25 +01:00
Chris Blanchard
46b0084e81 Add more efficient recent topics class method 2015-08-20 16:20:40 +01:00
Chris Blanchard
f20d5294b9 Fix 2015-08-20 15:58:10 +01:00
Chris Blanchard
afa96bd2f5 Add initial tests for posts 2015-08-20 15:57:29 +01:00
Chris Blanchard
d9b2df06a4 Add initial topic tests 2015-08-20 15:49:42 +01:00
Chris Blanchard
d4acc8ea3c Add initial forum tests 2015-08-20 15:48:19 +01:00
Chris Blanchard
2665df6b71 Fix style 2015-08-17 19:16:32 +01:00
Chris Blanchard
a3d9f5bc06 Invalid steam ids on the users API now returns null for steam attributes 2015-08-17 19:06:47 +01:00
Chris Blanchard
e6f05374d3 Added id to users API index method 2015-08-17 18:55:03 +01:00
Luke Barratt
f778ab6d5d Style guide updates to specs 2015-08-15 19:34:25 +01:00
Luke Barratt
96167b55e4 Merge branch 'develop' into task/upgrade-ruby 2015-08-15 17:32:35 +01:00
Chris Blanchard
6dfcc0114f Remove IP address data from users plugin 2015-08-15 13:30:39 +01:00
Chris Blanchard
5a3be391f3 Add missing groups 2015-08-15 13:25:44 +01:00
Luke Barratt
04c66e1bea Upgrade ruby to 2.2.2. Bump rails to 3.2.22
- Upgrade RSpec to 3.3
- Auto formatted existing specs
- Fixes broken test assertions
- Update capistrano rbenv_ruby to target 2.2.2
- Added test-unit as test dependency as it has been removed form ruby 2.2
2015-08-15 12:50:28 +01:00
Chris Blanchard
d6e317b6f0 Added team information to usre 2015-08-01 17:05:17 +01:00
Chris Blanchard
3f1077dff8 Added ban information to user api 2015-08-01 16:44:39 +01:00