Ruben Vereecken
2394bd8129
Added the recalculation script for a couple of statistics
2014-07-23 15:22:53 +02:00
Ruben Vereecken
ebfe1fc1c0
Proofed admin endpoint some more, no more dangling connections
2014-07-23 13:06:51 +02:00
Ruben Vereecken
0288786098
Merge branch 'master' into achievements
2014-07-15 16:16:46 +02:00
Ruben Vereecken
e748417007
GET /auth/name/<name> now serves possible free names
...
anonymous users are now warned if their new name is already chosen
User Settings is now without auto-save
Upon name conflict, a user will be suggested a new name which is then submitted if the user chooses to save after all.
Refactored conflicted name checking so it can be used in more places
Signup form now has an optional name field
Covered extra case where the debounced check happened too late. Support for submitting on enter.
Worked in scott's comments and got tests working again
2014-07-14 20:07:58 +02:00
Ruben Vereecken
9c0353a2f0
Merged in master
2014-07-13 21:18:32 +02:00
Scott Erickson
ad2e01ee61
Fixed a couple tests.
2014-07-10 14:31:50 -07:00
Ruben Vereecken
9e296b7c3d
Added a test case for unsetting slugs (and fixed related bug)
2014-07-10 18:24:02 +02:00
Ruben Vereecken
94210fc461
Anonymous users are now silently renamed upon signup in case of conflict
2014-07-10 18:00:32 +02:00
Ruben Vereecken
6e593b2ec0
User name slugs can now be unset by emptying their name
2014-07-10 10:46:41 +02:00
Ruben Vereecken
a8353cb7ff
Anonymous users can have the same name
2014-07-09 21:34:35 +02:00
Ruben Vereecken
ea4523bf6a
Test coverage for GETting users by slug
2014-07-09 21:34:35 +02:00
Ruben Vereecken
601c4e2731
Merged with master
2014-07-05 16:47:16 +02:00
Ruben Vereecken
e904a0a8f7
Achievement recalculation is now covered with tests
2014-07-04 19:27:41 +02:00
Ruben Vereecken
a367082cc4
Corrected statistic logic, wrote test case
2014-07-04 19:27:41 +02:00
Ruben Vereecken
fce9f0031b
All edits are now tracked
...
intermediate
intermediate
2014-07-04 19:27:38 +02:00
Ruben Vereecken
838012a2cf
Wrote and tested articleEdits recalculation
2014-07-04 19:27:38 +02:00
Ruben Vereecken
6ae505e8a1
stats.articleEdits are now tracked and tested
2014-07-04 19:27:37 +02:00
Ruben Vereecken
7a07e1feb0
Whoop whoop test for recalculation of gamesCompleted
2014-07-04 19:27:37 +02:00
Ruben Vereecken
7a4c6daec8
stats.gamesCompleted is now tracked in users
2014-07-04 19:27:37 +02:00
Ruben Vereecken
39fb2cb1b4
Added achievement preview, exp test, stuff
2014-07-04 19:27:37 +02:00
Ruben Vereecken
1fe2c67ffe
Added tests for repeatable achievements, including complicated xp
...
Intermediate
2014-07-04 19:27:37 +02:00
Ruben Vereecken
faf02d8e4b
Finally managed a setup that makes the tests succeed
2014-07-04 19:27:37 +02:00
Ruben Vereecken
488d49e286
intermediate
2014-07-04 19:27:37 +02:00
Tery Lim
618ade4946
Clean up mixed quotes
2014-07-01 12:23:22 +08:00
Scott Erickson
8ab69cf833
Merge pull request #1138 from rubenvereecken/search-endpoint
...
Search endpoint is now without the /search prefix
2014-06-12 11:33:28 -07:00
Ruben Vereecken
fddca03417
Worked on achievement tests
2014-06-12 19:44:55 +02:00
Ruben Vereecken
925594ffe9
Took a detour to write tests for BadMethod. Queue's tests not working yet.
2014-06-12 19:42:36 +02:00
Ruben Vereecken
b66f4984c3
Finished basic functional tests for achievement
2014-06-12 19:42:30 +02:00
Ruben Vereecken
fef72d8273
Finished Article tests to demonstrate search functionality
2014-06-12 19:19:34 +02:00
Ruben Vereecken
0751581113
Search endpoint is now without the /search prefix
...
Intermediate commit for search refactoring
2014-06-12 19:19:30 +02:00
Scott Erickson
08dde3623c
Disabling file server tests because currently they choke Travis.
2014-06-11 13:38:01 -07:00
Scott Erickson
ea06bb3d52
Fixed server tests to exit when they are finished. jasmine-node will never exit unless all connections are closed.
...
This helped:
https://github.com/mhevery/jasmine-node/issues/318#issuecomment-43914090
2014-06-11 13:21:11 -07:00
Ruben Vereecken
8e33b6b534
Fixed all server-sided tests
...
NEVER. AGAIN
2014-06-11 20:17:27 +02:00
Scott Erickson
f0ff8c242e
Migrating language to codeLanguage on systems and components because they conflict with the search system.
2014-06-10 13:20:14 -07:00
Scott Erickson
f1927dcf35
Added a regressive test for e87592059b
2014-05-08 13:56:54 -07:00
Scott Erickson
1869bbe859
Merge branch 'tests' of https://github.com/adi2412/codecombat into adi2412-anonNameCollide
2014-05-05 16:49:15 -07:00
Scott Erickson
ed556f50be
Added reserved word checking for names.
2014-04-28 14:09:29 -07:00
Aditya Raisinghani
0cd5d0f4af
Added jasmine spec reporter and tests for anonymous name collisions.
2014-04-28 15:16:43 +05:30
Scott Erickson
20541f5520
Added another check to the recruit unsubscribe test, to make sure it doesn't affect other subscriptions.
2014-04-23 09:53:46 -07:00
Scott Erickson
b390b38054
Fixed a couple bugs and tests.
2014-04-23 09:19:07 -07:00
Scott Erickson
f7035d4220
Added an unsubscribe url for recruit notifications.
2014-04-22 19:27:39 -07:00
Scott Erickson
f57be1ae52
Migrated to the new email system, along with a setting for recruit notifications.
2014-04-21 16:15:23 -07:00
Scott Erickson
8adca4a1da
Added a transactional email for when changes are made, to notify watchers.
2014-04-17 17:30:55 -07:00
Scott Erickson
ed0c7e1412
Creators of documents are automatically added as watchers. Added a patch creation email for watchers.
2014-04-17 17:09:01 -07:00
Scott Erickson
c395a3414e
Merge branch 'master' into feature/jsondiffpatch
2014-04-15 15:18:57 -07:00
Scott Erickson
58b1019934
Switched listen to watch (would have been confusing with eye-con, and listenTo function in Backbone). Added watch button and patch badge to level editor.
2014-04-15 15:09:36 -07:00
Scott Erickson
06a61d214e
Fixed server tests.
2014-04-15 09:01:51 -07:00
Scott Erickson
94e75b852c
Removed a log.
2014-04-12 10:51:31 -07:00
Scott Erickson
30f785f7cf
Moved the model schemas into a models folder.
2014-04-12 10:51:02 -07:00
Scott Erickson
a3951b0fa7
Extended the save version modal to allow submitting patches.
2014-04-10 13:09:44 -07:00
Scott Erickson
2f988ba485
Made the server side of the patch system.
2014-04-08 19:26:19 -07:00
Scott Erickson
c382889748
Bunch of server changes, mainly adding all the JSON schema validation and fixing tests.
2014-04-08 14:10:50 -07:00
Scott Erickson
e63763d539
Made the server resistant to req.user being undefined sometimes.
2014-02-24 20:27:38 -08:00
Sébastien Moratinos
8e841b397d
delete unused code on server
2014-02-06 00:16:47 +01:00
Sébastien Moratinos
319a8d3941
add unit test
2014-02-04 08:36:25 +01:00
Sébastien Moratinos
aa83f77fd6
refactor server test folder
2014-02-04 08:36:15 +01:00