Commit graph

90 commits

Author SHA1 Message Date
Michael Senn
f390c1b38c 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
970f5dd9cf Add teams api 2016-04-17 00:05:18 +01:00
Prommah
3016346211 Fix styling 2015-11-08 23:09:56 +00:00
Prommah
9805d3a66e Spec tidying 2015-11-07 06:21:31 +00:00
Prommah
33455ee4f0 Add match-related factories 2015-11-07 06:21:09 +00:00
Prommah
29a435d89c Add new user API spec 2015-11-03 07:50:14 +00:00
Prommah
3a7fe88aa9 Update deprecated spec_helper code & styling 2015-10-29 22:02:29 +00:00
simplefl
782751590b 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
1f6146642b Update users_controller_spec.rb 2015-10-28 16:44:00 +00:00
Prommah
8e723422ab Update user API spec for new values & SteamID queries 2015-10-28 16:11:01 +00:00
Prommah
970f56bc9a Don't show anything for blank profile values. 2015-10-28 02:32:45 +00:00
Chris Blanchard
90b5bf3f1f Return moderator status with users api 2015-10-20 18:11:46 +01:00
Chris Blanchard
39ff2b66d8 Added moderator group 2015-10-20 18:04:50 +01:00
Prommah
aafbc4e657 Fix styling and tidy validations 2015-09-24 10:19:00 +01:00
Prommah
b8080fded7 Add test for nil SteamID 2015-09-24 07:15:49 +01:00
Prommah
6d0f547a4c Add SteamID range spec 2015-09-24 06:58:21 +01:00
Prommah
f3c7942501 Return null steam data for previously invalid SteamIDs 2015-09-24 03:16:35 +01:00
simplefl
e63bd866b6 Merge pull request #56 from cblanc/expose_new_gathers
Expose new gathers
2015-09-18 17:05:01 +02:00
Chris Blanchard
1c35ed5ef2 Fix topic spec 2015-09-18 14:42:57 +01:00
simplefl
94bbece2d6 Merge pull request #55 from ENSL/develop
Develop
2015-09-06 11:58:31 +02:00
Chris Blanchard
e0eaa89fbf Rewrite recent_topic sql to return unique topics on subquery 2015-09-05 16:23:50 +01:00
Luke Barratt
6b6de118e1 Merge branch 'develop' 2015-08-31 16:33:11 +01:00
Chris Blanchard
22df398bae Return steamid to users api 2015-08-30 15:58:06 +01:00
Chris Blanchard
9c7917ef10 Fix style 2015-08-27 18:49:47 +01:00
Chris Blanchard
7c6b66a43d Show stream information on user page 2015-08-27 18:47:26 +01:00
simplefl
f652536307 Merge pull request #42 from cblanc/fix_users_api
Fix users api
2015-08-23 21:33:57 +02:00
Chris Blanchard
4377d07095 Add filter to recent topics 2015-08-22 10:48:08 +01:00
Chris Blanchard
5948364ec2 Annotate & fix style 2015-08-20 19:36:01 +01:00
Chris Blanchard
5bde263e8c Added forumer exclusion on recent_topics 2015-08-20 19:33:22 +01:00
Chris Blanchard
739422abef Added initial forumer test 2015-08-20 18:11:29 +01:00
Chris Blanchard
efc75736dd Style fix 2015-08-20 16:35:25 +01:00
Chris Blanchard
551520dc73 Add more efficient recent topics class method 2015-08-20 16:20:40 +01:00
Chris Blanchard
843da0db43 Fix 2015-08-20 15:58:10 +01:00
Chris Blanchard
d3a2b172e5 Add initial tests for posts 2015-08-20 15:57:29 +01:00
Chris Blanchard
49a99f16f7 Add initial topic tests 2015-08-20 15:49:42 +01:00
Chris Blanchard
7f7d09295c Add initial forum tests 2015-08-20 15:48:19 +01:00
Chris Blanchard
25479aa4a4 Fix style 2015-08-17 19:16:32 +01:00
Chris Blanchard
c7a81d8e75 Invalid steam ids on the users API now returns null for steam attributes 2015-08-17 19:06:47 +01:00
Chris Blanchard
80c733143b Added id to users API index method 2015-08-17 18:55:03 +01:00
Luke Barratt
de5d548e50 Style guide updates to specs 2015-08-15 19:34:25 +01:00
Luke Barratt
3020c98f57 Merge branch 'develop' into task/upgrade-ruby 2015-08-15 17:32:35 +01:00
Chris Blanchard
a6c7e5e592 Remove IP address data from users plugin 2015-08-15 13:30:39 +01:00
Chris Blanchard
4b038406f6 Add missing groups 2015-08-15 13:25:44 +01:00
Luke Barratt
944c55a869 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
4a3634601b Added team information to usre 2015-08-01 17:05:17 +01:00
Chris Blanchard
beb3470bb9 Added ban information to user api 2015-08-01 16:44:39 +01:00
Chris Blanchard
cdfea24a87 Added maps api 2015-08-01 16:34:01 +01:00
Chris Blanchard
9736ca4d10 Added server api 2015-08-01 16:20:49 +01:00
Chris Blanchard
7a18fd2ec2 Return 404 if user not found 2015-07-22 17:22:38 +01:00
Chris Blanchard
17dc8854fd Added additional data to users json api 2015-07-21 14:27:33 +01:00