Commit Graph

474 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
ea3419e8b4 commenter_photo.go: resize images to 38px 2020-02-13 20:00:42 -05:00
Adhityaa Chandrasekar
b29147a95b commenter_update.go: make link optional 2020-02-13 19:38:47 -05:00
Adhityaa Chandrasekar
b3f2cf3064 database_connect.go: redact password before log message 2020-02-13 19:12:54 -05:00
Ricky Panzer
bbea9df8b8 commenter_login.go: include email in response
Fixes https://gitlab.com/commento/commento/issues/271
2020-02-13 18:47:58 -05:00
Ricky Panzer
44dd4fa00c commento.js: re-render comments after login
Re-render comments after login to accurately paint votes and allow
upvoting without reprompting user to login, even though they're logged
in.

Closes https://gitlab.com/commento/commento/issues/170
2020-02-13 18:47:58 -05:00
Mariusz Gronczewski
2006b02f59 smtp_configure.go: disable smtp auth when unset 2020-02-13 18:47:58 -05:00
PIE
c040f95e25 Dockerfile: add arm64 support 2020-02-13 18:47:58 -05:00
David Planella
90f39499a1 commento.js: define new thresholds for time ago descriptions 2020-02-13 18:33:18 +00:00
Kaspars
6978171885 fix errorf missing argument 2020-02-03 22:17:41 +02:00
Adhityaa Chandrasekar
166599a2c8 count.js: support data-page-id paths
Closes https://gitlab.com/commento/commento/issues/255
2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
15022ba3a0 count.js: replace with script-based data-custom-text 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
dc24a40a37 api, frontend: add account deletion
Closes https://gitlab.com/commento/commento/issues/120
2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
80dc91ca05 domain_delete.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
f6d6a1f77f owner_get.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
d6e7507b2c api: sql statements: replace spaces with tabs 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
e7a5e01379 comment_vote.go: clean up SQL 2020-01-02 14:19:44 -08:00
Dave
e0504a0c88 comment_vote.go: fix logger msg typo erorr->error
Closes https://gitlab.com/commento/commento/merge_requests/124
2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
6cfa9922de email_get.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
72a3f87c28 domain_get.go, domain_list.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
c94e5ca41f comment_get.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
a05d8eeb07 commenter_get.go: clean up SQL 2020-01-02 14:19:44 -08:00
Adhityaa Chandrasekar
024859ff45 utils_sql.go: add sqlScanner interface 2020-01-02 14:19:44 -08:00
Dave
042fda0e8c commenter_get.go: single query commenterGetByCommenterToken
Closes https://gitlab.com/commento/commento/merge_requests/125
2020-01-02 14:19:41 -08:00
Adhityaa Chandrasekar
885c4dea9f dashboard.html: link to frontend configuration 2019-12-15 00:32:57 -08:00
Adhityaa Chandrasekar
0b1e2002d0 commento.js: add data-page-id option 2019-12-15 00:32:57 -08:00
Adhityaa Chandrasekar
2f9368a275 commenter_update.go: allow editing link, photo 2019-12-04 22:48:44 -08:00
Adhityaa Chandrasekar
2a11149034 .gitlab-ci.yml: remove dco 2019-12-04 22:12:31 -08:00
Adhityaa Chandrasekar
918a691ba3 api, frontend: allow editing profile information
Closes https://gitlab.com/commento/commento/issues/235
2019-12-04 22:12:29 -08:00
Adhityaa Chandrasekar
3e1576d494 api, frontend, db: add comment sorting
Closes https://gitlab.com/commento/commento/issues/215
2019-12-04 18:50:50 -08:00
Adhityaa Chandrasekar
3101af8a5c utils_sanitise.go: strip protocol before trailer
Fixes https://gitlab.com/commento/commento/issues/176
2019-11-21 01:15:08 -08:00
Adhityaa Chandrasekar
162b11bd7a api: do not batch email notifications
Closes https://gitlab.com/commento/commento/issues/234
2019-10-25 01:10:44 -07:00
Adhityaa Chandrasekar
0e5bcb8a79 commento.js: fix edit failure after new comment
Since the comment's data is not in commentsMap, the edit dialog does not
present the user with any text to edit.
2019-10-06 17:00:39 -07:00
Adhityaa Chandrasekar
b2b8d1b5d0 commento.js: hide deleted if children are deleted
This also adds a data-hide-deleted data tag that allows you to hide
deleted comments even if they have undeleted children.
2019-10-06 16:55:09 -07:00
Adhityaa Chandrasekar
c2bda4abc6 commento.js: confirm before deleting 2019-09-13 18:17:40 -07:00
Adhityaa Chandrasekar
ee7875cc1e commento.js: don't recursively delete comments 2019-09-13 18:13:38 -07:00
Adhityaa Chandrasekar
3ef4a79547 commento.js: use value instead of innerText for textarea 2019-09-13 17:26:53 -07:00
Adhityaa Chandrasekar
a9a1dc6376 frontend: migrate to gulp 4 2019-09-13 17:14:43 -07:00
Adhityaa Chandrasekar
b682fd14fa commenter_update.go: run go fmt 2019-09-13 16:15:00 -07:00
Adhityaa Chandrasekar
b278522e35 commento.js: preserve whitespace in edits 2019-09-13 16:15:00 -07:00
Adhityaa Chandrasekar
982a574512 email_notification_new.go: do not return on pageTitleUpdate errors 2019-09-13 16:15:00 -07:00
Adhityaa Chandrasekar
52f8df5183 config.go: parse config file before default
Closes https://gitlab.com/commento/commento/issues/187
2019-09-13 16:14:59 -07:00
Adhityaa Chandrasekar
9538c9036e api: update commenter information on new login 2019-08-21 21:05:17 -07:00
Adhityaa Chandrasekar
696361df4a reset.js: remove self.close call 2019-07-25 18:25:08 -07:00
Enrico Testori
4a8e90bd43 db: decrease comment count when a comment is deleted
Update commentsDeleteTriggerFunction in order to decrease the
counter before deleting nested comments.

Closes https://gitlab.com/commento/commento/issues/157
2019-07-25 18:25:08 -07:00
Adhityaa Chandrasekar
62340eb9c6 comment_new.go: create page before inserting comment
Fixes https://gitlab.com/commento/commento/issues/173
2019-07-25 18:25:08 -07:00
pawurb
ff04981cf5 count.js: allow customizing no comments text
Optional 'data-hide-no-comments-count' allows to hide comments count
when there are no comments.
2019-06-23 23:06:29 +02:00
Adhityaa Chandrasekar
f37e26bfc2 .gitlab-ci.yml: use go 1.12 2019-06-06 01:56:28 -07:00
Adhityaa Chandrasekar
73234832b6 api: vendor deps before tests 2019-06-06 01:44:17 -07:00
Adhityaa Chandrasekar
85456a019e api,frontend: add commenter password resets 2019-06-06 01:33:31 -07:00
Adhityaa Chandrasekar
36fea6e95b commento.js: make login box more intuitive 2019-06-05 22:15:12 -07:00