a620e281ce
feat: dev container use host .ssh folder.
2022-10-08 16:34:10 +00:00
a3d601fc75
feat: dev container use host .ssh folder.
2022-10-08 16:21:01 +00:00
8524db3f82
build: support drone CI.
2022-10-08 16:19:27 +00:00
d6e365f564
fix: github oauth failed.
2022-10-08 16:10:40 +00:00
4d1d52095f
feat: use dart sass instead of node sass.
2022-10-08 16:10:20 +00:00
5d8d8d049d
feat: support dev container.
2022-10-08 16:09:15 +00:00
Adhityaa Chandrasekar
a4c5cc8b9e
commento.js: show comment 404 only hash is an ID
...
Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
2021-02-28 15:28:24 +05:30
Adhityaa Chandrasekar
fc83eed221
comment_new.go: simplify state logic
...
Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
2021-02-28 13:43:58 +05:30
Adhityaa Chandrasekar
18612933f6
commento.js: show error when comment link is 404
...
Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
2021-02-28 13:16:36 +05:30
Adhityaa Chandrasekar
aaa44a0bee
api: log comment deleter and deletion date
...
Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
2021-02-28 12:46:43 +05:30
Drew Foehn
84bfd64e32
Dockerfile: Added build arg, RELEASE.
...
This allows you to build a debug version of commento and deploy to docker. Useful when debugging a containered version of commento.
2021-02-02 11:30:16 +05:30
Aaron
800902640b
Update base images in Dockerfile
2021-02-02 11:26:57 +05:30
Souradip Mookerjee
5390c6f81c
Fix twitter profile photo import bug
2021-01-16 00:26:17 +00:00
pawurb
326601394a
commento.js: add lazy loading to avatar images
2020-05-22 16:21:49 -04:00
Wouter Groeneveld
3c3cf08656
utils.js: use global.origin in cookieSet()
2020-05-09 23:53:42 +00:00
Adhityaa Chandrasekar
e44ae1ce9d
dashboard-main.scss: remove height from action buttons
2020-04-11 19:48:59 -04:00
Adhityaa Chandrasekar
025bb10c0b
.gitlab-ci.yml: fix postgres to 9.6
2020-04-10 17:13:05 -04:00
Adhityaa Chandrasekar
9a4563fdb3
db: maintain 9.6 compatibility
...
I know it's generally frowned upon to make edits to existing migrations,
but this should be a transparent change that makes absolutely no
difference to existing users with the migration already applied.
However, PostgreSQL 9.6 users (still the default on Debian Stretch)
stand to gain a lot from this simple change.
2020-04-10 17:10:56 -04:00
Adhityaa Chandrasekar
daae592b5d
commento.js: use a event listener in CSS overrides
...
Closes https://gitlab.com/commento/commento/-/issues/302
2020-03-31 07:00:46 -04:00
Adhityaa Chandrasekar
fbc98bce08
commento.js: remove stray console.log
2020-03-31 06:47:03 -04:00
Adhityaa Chandrasekar
36204ff81b
constants.go: set version at compile time
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
f09a619d41
Dockerfile: use go 1.14
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
f8e6cc78dc
.gitlab-ci.yml: use 1.14 in go test
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
3b2ed644a3
.gitlab-ci.yml: use 1.14 in go fmt
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
49a8669970
.gitlab-ci.yml: remove aws-upload-tags stage
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
7f97686b8f
dashboard.html: use a generic commento import placeholder
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
af2626c443
domain_export_download.go: include json in filename
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
20027d0efe
domain_export_download.go: do not add gzip encoding header
...
Adding a gzip encoding header would cause the browser to decode the data
on the client side. When re-importing the data, a plain JSON is imported
instead of a GZIP version.
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
885b4c6689
api: use commentoExportV1 struct
2020-03-31 06:39:52 -04:00
igolaizola
0d929595cc
api: import from commento export format
...
JSON data can be imported to restore previously exported data
or to migrate data from another self-hosted commento instance.
Closes https://gitlab.com/commento/commento/issues/239
2020-03-31 06:39:52 -04:00
Adhityaa Chandrasekar
998bc43d8c
settings.html: remove Stripe JavaScript
...
Closes https://gitlab.com/commento/commento/-/issues/272
2020-03-19 06:47:05 -04:00
Adhityaa Chandrasekar
881bd54c4f
dashboard.html: include configuredOauths in warning logic
2020-03-19 06:47:05 -04:00
Adhityaa Chandrasekar
7f64614f60
commento.js: default to anonymous if only option
...
Closes https://gitlab.com/commento/commento/-/issues/285
2020-03-19 06:47:05 -04:00
atagulalan
d077241f09
Fixed Github OAuth name error
2020-03-19 06:47:05 -04:00
matclab
b57b6bcc12
oauth config: Use GITLAB_URL env variable
...
In order to use oauth from gitlab CE instance one has to be
able to provide the URL of the instance.
closes #209 (https://gitlab.com/commento/commento/issues/209 )
2020-03-19 06:47:05 -04:00
Frieder Griesshammer
07cfcc9c17
dashboard.js: add defer to the script tag in installation guide on page
...
This matches the instructions with the documentation
[amended by @adtac]: Special thanks to @jeffreywyman for their work!
2020-03-19 06:45:42 -04:00
evalphobia
7f323b5abe
oauth_twitter_callback.go: fix avatar icon and account url for Twitter
2020-03-19 05:04:29 -04:00
Yann Pringault
b14de2eb53
frontend: upgrade node-sass to support Node 13
2020-03-03 18:42:43 +01:00
Adhityaa Chandrasekar
55a3d1fd89
api: go fmt
2020-02-13 20:15:05 -05:00
Adhityaa Chandrasekar
986b05f89a
api, frontend: restrict profile updates to commento provider
2020-02-13 20:11:47 -05:00
Adhityaa Chandrasekar
b7c214e910
commenter_update.go: parse empty links as undefined
2020-02-13 20:01:44 -05:00
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