Commit graph

40 commits

Author SHA1 Message Date
Lou
1a6bfa6df1 removed record model and controller 2021-06-06 16:32:57 +02:00
Lou
ee6916d0f5 working on update def 2021-05-12 21:17:46 +02:00
Lou
84d0b296fb Adds some unit tests 2021-05-12 20:07:55 +02:00
Lou
02ca539cc8 Add defs index and show, and relative unit tests 2021-05-12 20:02:42 +02:00
Lou
1de186f65a Adds model validations and test units 2021-05-12 00:25:45 +02:00
Lou
b3d44cd4b0 Init Record model 2021-05-12 00:04:34 +02:00
Lou
8669e0945d index def now return every tasks if requested 2021-05-10 22:29:43 +02:00
Lou
fc38057172 Add destroy def and unit test 2021-05-10 22:06:12 +02:00
Lou
da5edf8eab Add def update and unit tests 2021-05-10 22:01:24 +02:00
Lou
3e6506c7d7 Fix test (remove it), and add other unit test on def show 2021-05-10 21:45:45 +02:00
Lou
bfda3e561b Adds def create and test units, must fix a test 2021-05-10 21:34:13 +02:00
Lou
e27c66edee Add a filter on index and show defs: now they only send data for a specific activity 2021-05-10 18:03:34 +02:00
Lou
79326510e8 Adds task creation in seed.rb 2021-05-10 16:50:51 +02:00
Lou
825c392b37 Adds index and show defs, and relatives unit tests 2021-05-10 16:39:48 +02:00
Lou
5584e328b1 Generates Task model and adds relative unit tests 2021-05-10 16:12:45 +02:00
Lou
66038c6afb Activate CORS 2021-04-30 18:26:43 +02:00
Lou
203c9c6696 Adds caching 2021-04-30 18:24:00 +02:00
Lou
ebf68217cd soon to be updated 2021-04-30 18:11:37 +02:00
Lou
796571af50 Adds a query string to include users' created activities in def show 2021-04-30 15:49:59 +02:00
Lou
61331e4414 Adds a relationship key to user json_response 2021-04-30 12:57:54 +02:00
Lou
9bc955cea8 Adds serializer to activity controller, and unit tests to activity and user controllers 2021-04-30 12:39:32 +02:00
Lou
655e16e2f4 Merge branch 'master' of ssh://git.yannweb.net:2222/cli/Registra-API into serialize 2021-04-29 21:47:53 +02:00
Lou
b60c2d95a2 Initialized rails-erd gem to generate an ERD schema based on rails models 2021-04-29 21:16:23 +02:00
Lou
99747e3f2d Adds JoinedUserActivity model to associate users to every activities they created 2021-04-29 21:03:52 +02:00
Lou
9a28dba9cb Removed check_owner def of activity model - a logged in user can update/destroy any activity 2021-04-29 15:50:41 +02:00
Lou
d0fe04530e Serialized users 2021-04-27 17:33:55 +02:00
Lou
27c86b0a5b Feed the database with seed, and fix a foreign_key issue 2021-04-27 17:08:23 +02:00
Lou
91636730ff Fix typo 2021-04-27 16:34:44 +02:00
Lou
f29e840f58 Adds destroy def to activity controller, and unit tests 2021-04-27 16:25:00 +02:00
Lou
26ee834214 Adds def update to activity controller, and unit tests 2021-04-27 16:07:17 +02:00
Lou
7249e53c27 Adds def create to activities controllers, and unit test 2021-04-27 15:26:30 +02:00
Lou
4a29f3c7ce Add index and show defs to activities controller and test units 2021-04-13 19:48:11 +02:00
Lou
25cefddb1a Add one unit test to activity model 2021-04-13 18:52:23 +02:00
Lou
a594b87387 Add activity model and unit tests 2021-04-13 18:20:12 +02:00
Lou
7e3f9cdce2 Restrict actions for unauthorized users 2021-04-13 16:24:08 +02:00
Lou
2753b9f6c8 Setup tokens controller 2021-04-13 16:11:22 +02:00
Lou
f8aae15cdc Add update and destroy defs to user controller, and test units 2021-04-13 16:01:47 +02:00
Lou
d28c6612d0 Add def index/show/create to users controller, and test units 2021-04-13 11:56:45 +02:00
Lou
ef96307d39 Add user model and unit tests 2021-04-13 11:42:41 +02:00
Lou
9a56573292 Init commit 2021-04-13 11:25:41 +02:00