Commit Graph

52 Commits

Author SHA1 Message Date
Kevin Vinhas
007d08a051 Add New Comment on your post notifications
This notification is sent only to the post owner, unless this person turned off the notifications.
A simple first step into the notifications by mail world :)

The mail contains a link to user profile
The link to the user profile is required to give an easy access to
notifications disabling.

Also having a preview for the notify_post_owner method

We can `Comment.first` because it is part of the db:seeds method. So
there should, in development, always be one.
2021-02-11 22:40:52 +01:00
Kevin Vinhas
9dfb13eff6 Adding notifications_enabled attribute to users
This diff just contains the migration and profile edition.

Refers to [This Project Card](https://github.com/riggraz/astuto/projects/1#card-31194036) and #33
2021-02-11 22:40:52 +01:00
riccardo
2c2a0e0c82 Add button to toggle comment is post update 2019-10-02 16:43:13 +02:00
riggraz
034a5ab708 Add post updates 2019-10-01 19:15:03 +02:00
riggraz
4fdb71d488 Merge branch 'master' of https://github.com/riggraz/astuto 2019-09-30 18:49:35 +02:00
riggraz
1d211e61ad Modify minimum comment body length 2019-09-30 18:49:15 +02:00
riccardo
1574a84966 Add system test for like in post component 2019-09-30 18:40:34 +02:00
riggraz
84263b9d33 Add Likes in Post component 2019-09-30 16:54:37 +02:00
riccardo
dfee92da9c Add system tests for likes 2019-09-28 13:49:37 +02:00
riggraz
ce234f8818 Add style to like button 2019-09-27 18:19:13 +02:00
riggraz
ccb63c4e16 Improve routing tests 2019-09-27 14:41:54 +02:00
riggraz
970cd6934c Add likes model, controller and tests 2019-09-27 12:32:30 +02:00
riggraz
c554d68f54 Add env variables to test and fix some of them 2019-09-24 12:57:32 +02:00
riggraz
31828d48ba Fix integration tests for comments component 2019-09-21 16:11:13 +02:00
riggraz
7729057180 Add select to change board of post 2019-09-21 12:54:57 +02:00
riggraz
a1dbbb07b4 Random color assigned to new post statuses 2019-09-18 21:12:52 +02:00
riggraz
109381e791 Add order to Boards 2019-09-18 21:00:38 +02:00
riggraz
876f77e000 Add integration test for comments (not finished) 2019-09-18 17:00:58 +02:00
riggraz
d05202a2d7 Add power_user? method to User model 2019-09-16 19:38:56 +02:00
riggraz
3f4eba70d7 Add comment model and its tests 2019-09-16 16:05:00 +02:00
riggraz
b3fefe77ee Fix failing board integration test 2019-09-16 16:04:04 +02:00
riggraz
a964b3627f Refactor CSS pt. 1 (remove custom css in favour of Bootstrap's) 2019-09-15 18:26:51 +02:00
riggraz
b42d062d4a Add model tests to post and post_status 2019-09-14 17:14:52 +02:00
riggraz
c13ac85473 Add tests for Post component 2019-09-14 16:05:54 +02:00
riggraz
3b54772ca1 Add tests for Board search and infinite scroll 2019-09-14 15:20:03 +02:00
riggraz
e649588211 Improve Post component 2019-09-12 18:03:19 +02:00
riggraz
2a42d3069c Add tests of controllers 2019-09-04 17:37:08 +02:00
riggraz
4a1378988a Add integration test for Board component 2019-09-03 18:37:27 +02:00
riggraz
66dde5ee91 Refactor stylesheets 2019-09-02 19:59:55 +02:00
riggraz
edacfb1a4f Add new post form 2019-09-02 14:32:57 +02:00
riggraz
4cb60cf2ed Add test for every action of admin panel 2019-08-29 12:11:18 +02:00
riggraz
fdcb942e78 Add route for roadmap and its tests 2019-08-28 18:54:25 +02:00
riggraz
bdc3c3233c Add view test for header 2019-08-28 18:49:06 +02:00
riggraz
0c1873d1a6 Add system test for Roadmap component 2019-08-28 17:52:59 +02:00
riggraz
d9414bd218 Add system tests for user signup, login and edit profile 2019-08-28 15:21:20 +02:00
riggraz
b195274161 Capybara now works 🎉 2019-08-27 20:33:44 +02:00
riggraz
b496a4d624 Add order and show_in_roadmap fields to PostStatus 2019-08-26 18:15:52 +02:00
riggraz
87c205ca60 Apply single quote convention in Ruby code 2019-08-24 20:04:53 +02:00
riggraz
0f74fc2b88 Add routing specs 2019-08-24 19:48:31 +02:00
riggraz
95c26a673a Refactor model tests 2019-08-24 19:12:57 +02:00
riggraz
ada0114589 Refactor model tests to use rspec's be_valid/be_invalid 2019-08-24 17:03:54 +02:00
riggraz
0ceaa6acb5 Add Post model 2019-08-24 16:51:25 +02:00
riggraz
f0b3fe7a60 Add post statuses admin panel 2019-08-24 12:28:59 +02:00
riggraz
726236b8aa Add PostStatus model 2019-08-24 12:06:48 +02:00
riggraz
8e610aa381 Clarify admin panel test descriptions 2019-08-24 11:15:42 +02:00
riggraz
75893bc4fd Add tests to user model and admin panel requests 2019-08-23 15:58:43 +02:00
riggraz
33ba4771d7 Add Boards 2019-08-22 17:09:13 +02:00
riggraz
462002c416 Add users factory for tests 2019-08-20 14:26:26 +02:00
riggraz
63dca03622 Add Devise configuration for testing 2019-08-19 10:52:26 +02:00
riggraz
3bd019bfdc Add test to User model 2019-08-19 10:52:12 +02:00