Commit graph

176 commits

Author SHA1 Message Date
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
Luke Barratt
c1466c262a Cleanup spec_helper and remove use of deprecated RSpec syntax 2015-08-23 15:29:09 +01:00
Chris Blanchard
9ba7f4b0d1 Add filter to recent topics 2015-08-22 10:48:08 +01:00
Chris Blanchard
4377d07095 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
5948364ec2 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
5bde263e8c 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
739422abef 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
efc75736dd 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
551520dc73 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
843da0db43 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
d3a2b172e5 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
49a99f16f7 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
7f7d09295c 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
de5d548e50 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
Luke Barratt
3020c98f57 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
a6c7e5e592 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
Chris Blanchard
4b038406f6 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
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
d6e317b6f0 Added team information to usre 2015-08-01 17:05:17 +01:00
Chris Blanchard
4a3634601b 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
Chris Blanchard
beb3470bb9 Added ban information to user api 2015-08-01 16:44:39 +01:00
Chris Blanchard
3ec284b925 Added maps api 2015-08-01 16:34:01 +01:00
Chris Blanchard
cdfea24a87 Added maps api 2015-08-01 16:34:01 +01:00
Chris Blanchard
b0db658ef6 Added server api 2015-08-01 16:20:49 +01:00
Chris Blanchard
9736ca4d10 Added server api 2015-08-01 16:20:49 +01:00
Chris Blanchard
b4cedd9dc7 Return 404 if user not found 2015-07-22 17:22:38 +01:00
Chris Blanchard
7a18fd2ec2 Return 404 if user not found 2015-07-22 17:22:38 +01:00
Chris Blanchard
a351b03754 Added additional data to users json api 2015-07-21 14:27:33 +01:00
Chris Blanchard
17dc8854fd Added additional data to users json api 2015-07-21 14:27:33 +01:00
Christopher Blanchard
ad50f26497 Fix for can_create? weirdness 2015-06-07 10:20:23 +01:00
Christopher Blanchard
9cd652c3bf Fix for can_create? weirdness 2015-06-07 10:20:23 +01:00
Christopher Blanchard
c5ab99186e Added issue feature spec 2015-06-07 00:58:41 +01:00
Christopher Blanchard
3f49bdf8b5 Added issue feature spec 2015-06-07 00:58:41 +01:00
Christopher Blanchard
a1ce779cae Added initial issue specs 2015-06-07 00:26:09 +01:00
Christopher Blanchard
b919600663 Added initial issue specs 2015-06-07 00:26:09 +01:00
Chris Blanchard
39529bc8bc Add recipient to messages 2015-06-02 18:50:41 +01:00
Chris Blanchard
6b8f5677b4 Add recipient to messages 2015-06-02 18:50:41 +01:00
Chris Blanchard
edd3d6ea64 Remove rcon from annotate and added message model specs 2015-06-02 17:55:08 +01:00
Chris Blanchard
992608a90c Remove rcon from annotate and added message model specs 2015-06-02 17:55:08 +01:00
simplefl
e933324369 Merge pull request #21 from cblanc/remove_plugins
Revoke banhammers
2015-05-26 18:58:49 +02:00
simplefl
055f896c3f Merge pull request #21 from cblanc/remove_plugins
Revoke banhammers
2015-05-26 18:58:49 +02:00
Christopher Blanchard
50c12b828f Rerun annotate on server spec 2015-05-22 14:17:07 +01:00
Christopher Blanchard
3aa865e1c9 Rerun annotate on server spec 2015-05-22 14:17:07 +01:00
Christopher Blanchard
1f1f4a89a1 Added tests for bans 2015-05-22 14:16:31 +01:00
Christopher Blanchard
4a18d895a4 Added tests for bans 2015-05-22 14:16:31 +01:00
cblanc
ab2d0f3b26 Remove rcon from test 2015-05-18 17:33:38 +01:00
cblanc
ac4694518d Remove rcon from test 2015-05-18 17:33:38 +01:00
cblanc
83bdf550bb Remove rcon column from servers table 2015-05-18 17:30:45 +01:00
cblanc
89891d2679 Remove rcon column from servers table 2015-05-18 17:30:45 +01:00
cblanc
df1eae0631 Added ns server specs 2015-05-14 17:27:12 +01:00
cblanc
1d0f4ba2e6 Added ns server specs 2015-05-14 17:27:12 +01:00
cblanc
97162edfba Changed wording on warning message 2015-05-09 16:37:00 +01:00
cblanc
2826999520 Changed wording on warning message 2015-05-09 16:37:00 +01:00
cblanc
353cd3262b Added test for client side shoutbox validation 2015-05-09 16:21:48 +01:00
cblanc
5cdae9ea64 Added test for client side shoutbox validation 2015-05-09 16:21:48 +01:00
cblanc
d6d87bdf83 Added necessary factory methods to test shoutbox 2015-05-09 16:21:18 +01:00
cblanc
4af7325620 Added necessary factory methods to test shoutbox 2015-05-09 16:21:18 +01:00
cblanc
46e30e8a4c Updated test for expected ban behaviour 2015-05-05 22:51:26 +01:00
cblanc
e69c4c9b61 Updated test for expected ban behaviour 2015-05-05 22:51:26 +01:00
cblanc
165267c571 Added test to find out how banning works 2015-05-05 22:43:54 +01:00
cblanc
b9ecfb2292 Added test to find out how banning works 2015-05-05 22:43:54 +01:00
Luke Barratt
25143d21f9 Addec colour and documentaton style formatting to RSpec output to improve readability 2015-05-02 23:46:16 +01:00
Luke Barratt
dc88b78739 Addec colour and documentaton style formatting to RSpec output to improve readability 2015-05-02 23:46:16 +01:00
cblanc
ad3bab8820 Added some simple integration tests for shout messages 2015-04-27 23:32:27 +01:00
cblanc
f87fc9ae58 Added some simple integration tests for shout messages 2015-04-27 23:32:27 +01:00