Commit Graph

2785 Commits

Author SHA1 Message Date
Blade Barringer 797287a75c Add and adjust tests for new register behavior. 2015-11-04 17:40:49 -06:00
Blade Barringer 8618716ca4 Update requester to take in additional set parameters. 2015-11-04 17:40:10 -06:00
Blade Barringer 269fd2a94f Add test for admin flagging a message 2015-11-04 08:00:35 -06:00
Blade Barringer 799190a898 Merge branch 'develop' into flag_messages_in_api 2015-11-04 07:56:34 -06:00
Sabe Jones 502e7f0af2 Merge branch 'develop' into sabrecat/more-modals 2015-11-03 14:29:23 -05:00
Blade Barringer 8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Blade Barringer 1a68b5e9ee Refactor and add tests to flagged messages. 2015-11-03 08:00:14 -06:00
Blade Barringer 24480e5f04 Merge branch 'develop' into srrvnn-develop 2015-11-03 07:31:48 -06:00
Matteo Pagliazzi ed0e4c6d20 Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
for the upcoming api v3

Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3

move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1

move api-v2 controllers in subdirectory

move unorganized files to /libs

fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app

fix require paths

fix require paths

fix require paths

put api v1 back

Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00
Blade Barringer 6f3be77961 Add tests for flagged messages in get group object test 2015-11-02 07:46:21 -06:00
Blade Barringer da06e0736a Adjust style of tests. 2015-10-31 21:37:44 -05:00
Blade Barringer f84a10ee4e Simplify delete user test 2015-10-31 21:37:17 -05:00
Jeremy Abbott 19128cf8f2 Fnished user in solo group tests
Also minor code cleanup in random files.
2015-10-31 16:19:50 -05:00
Blade Barringer 421b402948 Add helper to check the existence of a document 2015-10-31 10:55:28 -05:00
Blade Barringer 6a65711c2f Close db connections in helpers 2015-10-31 10:55:17 -05:00
Sabe Jones 5d3f41637f Merge branch 'develop' into sabrecat/more-modals 2015-10-30 16:33:17 -04:00
Blade Barringer ad6fbef85c Move chat tests to new infrastructure 2015-10-30 14:47:14 -05:00
Blade Barringer 6f18470b65 Update readme 2015-10-30 09:04:19 -05:00
Blade Barringer aa111b3c1a Update tests to assert against translation strings 2015-10-30 09:01:57 -05:00
Matteo Pagliazzi 332df1d646 Merge pull request #6136 from HabitRPG/upgrade-stack
Upgrade stack
2015-10-29 19:28:51 +01:00
Blade Barringer dd09633d31 Merge branch 'locks-auto-equip' into develop 2015-10-29 12:25:18 -05:00
Blade Barringer 0c82d757c8 Move cs tests to js 2015-10-29 12:25:02 -05:00
Matteo Pagliazzi 37d83fdade mongoo 4 and new travis ci infrastructure 2015-10-29 16:35:02 +01:00
Blade Barringer ee55c44548 Add text assertion to test 2015-10-29 08:42:37 -05:00
Blade Barringer 6ff904bd5a Merge branch 'develop' into czan-develop 2015-10-29 08:40:03 -05:00
Blade Barringer 5cc790093e Move join party tests to new structure. 2015-10-29 07:41:49 -05:00
Blade Barringer 55fcf678c3 Move push notification to new infrastructure. 2015-10-28 21:36:04 -05:00
Blade Barringer ab1ac1f543 Remove unneeded test 2015-10-28 21:09:55 -05:00
Blade Barringer 265bb56db2 Move get user tests 2015-10-28 21:06:28 -05:00
Blade Barringer e98484d0ec Move anonymous route test to new structure. 2015-10-28 21:00:28 -05:00
Blade Barringer fd4fb836f0 Move task tests 2015-10-28 17:18:27 -05:00
Sabe Jones aad3e5ade6 fix(sharing): Add social service to Inventory
Also fixes accidental 'only' in tests.
2015-10-28 16:52:07 -04:00
Sabe Jones f4ea6c1d5d feat(sharing): Opt Out WIP
First draft of support for opting out of future modal display on specific events, and adds the second barebones target page for sharing.
2015-10-28 16:36:47 -04:00
Sabe Jones 27e3797307 Merge branch 'develop' into sabrecat/more-modals
Conflicts:
	common/locales/en/challenge.json
2015-10-28 14:54:55 -04:00
Blade Barringer b70597e1d1 Merge pull request #6122 from crookedneighbor/batch_update_adjustment
Batch update adjustment
2015-10-27 21:35:19 -05:00
Blade Barringer 691ab86bd6 Add test for default user id 2015-10-27 19:40:11 -05:00
Blade Barringer a7c52e6086 Reinstate amplitude analytics 2015-10-27 19:37:57 -05:00
Blade Barringer 68689d1a05 Remove debug option from mocha opts 2015-10-27 12:25:39 -05:00
Blade Barringer 4886b50aa3 Add testing for batch update. Handle unknown operations better. 2015-10-27 08:13:30 -05:00
Carlo Zancanaro 4d6bd38648 Add GET routes for /user/tags and /user/tags/{id}
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.

This commit also includes tests for the two new routes.
2015-10-27 13:49:17 +11:00
Blade Barringer 09596c657b Remove only form test 2015-10-26 17:34:29 -05:00
Blade Barringer 2790008937 Adjust error message to not point to a readme file that does not exist. 2015-10-26 17:27:08 -05:00
Blade Barringer 13bca6b9a9 Prevent class from being changed via PUT /user 2015-10-26 17:25:51 -05:00
Blade Barringer c7b162271c Adjust context title. 2015-10-26 17:13:21 -05:00
Blade Barringer 13fa14270d Add additional check for stat change 2015-10-26 12:52:18 -05:00
Blade Barringer f8d08b4195 Merge branch 'jeremyabbott-userputtests' into userput 2015-10-26 12:25:17 -05:00
Blade Barringer 6a6922bb3f Add tests for protected paths 2015-10-26 12:24:02 -05:00
Jeremy Abbott e4269723e1 Creates initial PUT /user test
Adds missing semi-colon to DELETE-user.test.js
2015-10-26 10:54:37 -05:00
Blade Barringer 0eac953170 Adjust stying of put test 2015-10-26 08:04:30 -05:00
Blade Barringer cf7be0b7a3 Merge branch 'develop' into jeremyabbott-userputtests 2015-10-26 08:00:30 -05:00