Commit Graph

109 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 Graziosi
9b337cc659 Fix navbar style 2020-07-26 15:32:50 +02:00
Ruben Waterman
08de979b45 Add dark-mode support (#24)
* add dark-mode support

* make improvements as suggested by riggraz

* fix some dark theme styles

Co-authored-by: Riccardo Graziosi <riccardo.graziosi97@gmail.com>
2020-07-17 18:51:34 +02:00
riggraz
84aa30d0d8 Adjust margin of some components 2020-01-05 11:31:21 +01:00
riggraz
68acccf1a4 Remove autofocus from some input controls 2019-11-25 23:07:20 +01:00
riggraz
595d06df05 Fix post description overflow on smaller devices 2019-11-25 23:01:19 +01:00
riggraz
c96073e4f8 Fix template issues of some sidebar components 2019-10-16 20:24:42 +02:00
riggraz
a97c952191 Make production environment work 2019-10-16 17:27:37 +02:00
riggraz
22fd672efd Fix a bug in comments controller 2019-10-09 15:23:59 +02:00
riccardo
965a29bb1b Adjust boxes margin 2019-10-02 16:57:32 +02:00
riccardo
1d1169ab08 Add delete button to comment 2019-10-02 16:53:35 +02:00
riccardo
2c2a0e0c82 Add button to toggle comment is post update 2019-10-02 16:43:13 +02:00
riccardo
e8d7fcc359 Add gravatar image to new comment form 2019-10-02 15:26:32 +02:00
riggraz
034a5ab708 Add post updates 2019-10-01 19:15:03 +02:00
riggraz
be8f003d70 Add gravatar picture to comments 2019-09-30 23:28:52 +02:00
riggraz
1d211e61ad Modify minimum comment body length 2019-09-30 18:49:15 +02:00
riggraz
551feef79e Improve LikeList style 2019-09-30 18:10:51 +02:00
riggraz
84263b9d33 Add Likes in Post component 2019-09-30 16:54:37 +02:00
riggraz
ce234f8818 Add style to like button 2019-09-27 18:19:13 +02:00
riggraz
80164178c2 Implement basic version of likes 2019-09-27 16:57:23 +02:00
riggraz
5ee6a4afae Implement hotness algorithm 2019-09-27 15:48:21 +02:00
riggraz
970cd6934c Add likes model, controller and tests 2019-09-27 12:32:30 +02:00
riggraz
e1d8dbc281 Improve style consistency 2019-09-27 11:40:33 +02:00
riggraz
f744c497a2 Improve comment components and its reducers 2019-09-26 18:22:18 +02:00
riggraz
678d2eaacf Improve type checks 2019-09-26 16:03:41 +02:00
riggraz
322c8e51cf Remove unused imports and add some types 2019-09-26 11:00:32 +02:00
riggraz
f4c1792f39 Add edit link to posts and comments 2019-09-25 11:50:23 +02:00
riggraz
e06d95a7bb Add posts and comments to admin panel 2019-09-24 21:16:51 +02:00
riggraz
9bdbcef0ab Improve navbar brand visualisation 2019-09-24 16:37:55 +02:00
riggraz
c554d68f54 Add env variables to test and fix some of them 2019-09-24 12:57:32 +02:00
riggraz
e70d3bbda6 Add default favicon and logo 2019-09-23 17:06:32 +02:00
riggraz
95ffd32420 Number of posts per page is now configurable through .env 2019-09-23 16:10:25 +02:00
riggraz
eed2ef5446 User email confirmation is now optional 2019-09-23 15:52:00 +02:00
riggraz
10f73d876e Add .env file for docker-compose 2019-09-23 12:14:35 +02:00
riggraz
7729057180 Add select to change board of post 2019-09-21 12:54:57 +02:00
riggraz
7874015580 General improvements to postlist and post 2019-09-21 11:17:58 +02:00
riggraz
38345f9c42 Improve comments component 2019-09-20 18:43:24 +02:00
riggraz
0b88d58094 Improve style pt. 4 (post and comments) 2019-09-20 17:56:01 +02:00
riggraz
53afa9007a Style improvements for mobile 2019-09-19 19:39:16 +02:00
riggraz
494983efc6 Improve style pt. 3 (breakpoints) 2019-09-19 19:06:22 +02:00
riggraz
98b8d53ad0 Fix bug in boards load and destroy belonging posts when destroying board 2019-09-19 18:55:55 +02:00
riggraz
2bc991e154 Fix css bug in header 2019-09-19 18:45:55 +02:00
riggraz
0a41c22ec1 Improve style pt. 2 (devise forms) 2019-09-19 18:30:29 +02:00
riggraz
409cdeef8a Improve style pt. 1 2019-09-19 16:42:43 +02:00
riggraz
2b1fc213db Fix bug in post status edit 2019-09-19 14:00:34 +02:00
riggraz
de1c225c56 Improve admin panel 2019-09-18 22:03:51 +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