Commit graph

625 commits

Author SHA1 Message Date
Joey
5e92ff28ac
Create main github actions file 2021-04-22 16:13:20 -06:00
j-james
6c6552176a Support dashes in usernames 2021-01-10 23:07:20 +00:00
digitalcraftsman
3ac9ec3ff6 Center view count of popular threads
Otherwise the counter is misaligned in the corresponding column.
2020-09-22 18:44:42 +01:00
Dominik Picheta
7d8417ff97 Revert "Replace webdriver with halonium" 2020-09-01 18:27:58 +01:00
Joey
b2932e9348
Merge pull request #263 from jyapayne/change-to-halonium
Replace webdriver with halonium
2020-09-01 07:14:00 -06:00
Joey
108aeda5b3
Merge pull request #262 from jyapayne/fix-cannot-edit-category
Fix cannot edit category
2020-09-01 06:04:18 -06:00
Joey Yakimowich-Payne
3d975e8386 Replace webdriver with halonium 2020-08-31 15:43:23 -06:00
Joey Yakimowich-Payne
4f8a585049 Remove unnecessary table identifier 2020-08-31 15:35:17 -06:00
narimiran
b27096ff75 allowed editing time is now much shorter
Other forums usually have allowed editing times measured in
*minutes*, we had it in weeks.

Two hours should be plenty of time to edit a post, but more importantly
it should prevent spamming mis-usages that sometimes happened before:
You read a perfectly normal post (usually copy-pasted from somewhere)
and then much later on (when most of us regular forum users don't notice
anymore because we frequently read new threads/posts) it is edited to
contain spammy links and content.

Admins must be able to always edit a post, no matter of its age.
2020-08-31 22:02:03 +01:00
Joey Yakimowich-Payne
ce3de27fb9 Fix user row index 2020-08-29 12:48:57 -06:00
Joey Yakimowich-Payne
9739c34abd Add test for category change 2020-08-29 11:49:00 -06:00
Joey Yakimowich-Payne
4821746c5d Add user id to the user object and fix thread user check 2020-08-29 11:31:24 -06:00
Miran
dc80ef022e
properly do #255 - moderators can change categories (#258) 2020-08-28 11:10:17 +02:00
Dominik Picheta
77fd9af1cd Version 2.1.0. 2020-08-24 21:02:44 +01:00
Dominik Picheta
e62ae672b3 Optimise threads.json SQL query. 2020-08-24 20:47:01 +01:00
Miran
6e32ec27b4
moderators should be able to edit categories (#255) 2020-08-24 13:48:23 +02:00
jiro
030c52020e
Add docker environment for local development (#257)
* Add docker environment

* Add document of docker

* Move docker files

* Change context

* Move git submodule command to entrypoint.sh

* Update README
2020-08-23 14:30:06 +01:00
Joey
abb770ebd1
Merge pull request #251 from andinus/update-readme-setup-info
Add additional setup information to README
2020-08-06 06:11:45 -06:00
Miran
16c9daea52
fix deprecated import (#254) 2020-08-06 14:07:31 +02:00
Andinus
8bad518e4b
Move setup fail information to Troubleshooting section
This also pastes the output instead of linking to pastebin.
2020-06-13 00:55:32 +05:30
Andinus
5c4d9b36d3
Add additional setup information to README
The build failed for me & was fixed after installing "karax" with
nimble.
2020-06-13 00:06:38 +05:30
Joey
14786d3d49
Merge pull request #250 from andinus/fix-email-change-update
Send confirmation email to updated address
2020-06-12 12:02:52 -06:00
Joey
48314432e9
Merge pull request #249 from hvnsweeting/only-v2-works
Gives note that only reCAPTCHA v2 works at the moment
2020-06-12 11:18:48 -06:00
Joey
d808749054
Merge pull request #248 from hvnsweeting/ssl-support
Add SSL support for sending email
2020-06-12 11:18:18 -06:00
Joey
03fd4fdc13
Merge pull request #246 from andinus/fix-email-date-header
Add Date header to emails
2020-06-12 11:17:51 -06:00
Andinus
ebbfa265d5
Send confirmation email to updated address
This will fix https://github.com/nim-lang/nimforum/issues/155.

Currently nimforum sends the confirmation email to the address in
database but it should've sent it to the new address.

Activity: User changes email
Issue: Confirmation email is sent to old address
Fix: Send the confirmation email to updated address
2020-06-12 22:21:45 +05:30
Viet Hung Nguyen
b933a9b2e8 Gives note that only v2 work at the moment 2020-06-06 21:36:14 +07:00
Viet Hung Nguyen
474fa63985 Add SSL support for sending email 2020-06-06 14:52:35 +07:00
Andinus
418bb3fe47
Add Date header to emails
UTC time is used because we cannot format time as "Fri, 22 May 2020
06:33:00 +0000" with the times package.

"zz" returns +00 & "zzz" returns +00:00, note that the former doesn't
return minutes value so it'll return +05 for systems in timezone
+0530 & "zzz" will return +05:30 for the same.

Instead of parsing it again & removing ':' manually we use UTC time &
add "+0000".
2020-05-22 12:12:11 +05:30
Joey
d372d9f980
Merge pull request #240 from hlaaftana/patch-1
Let users delete their own posts, fixes #208
2020-05-10 10:38:32 -06:00
hlaaftana
2987955e8a
fix delete thread test 2020-05-10 19:15:02 +03:00
hlaaftana
16abee0596
add user delete thread test 2020-05-10 17:54:32 +03:00
hlaaftana
f5e1a71e6e
add clear variables 2020-05-10 17:00:39 +03:00
Joey
f0bfd5516a
Merge pull request #244 from Yardanico/emailtls
Add ability to enable TLS for SMTP
2020-05-10 06:58:18 -06:00
Danil Yarantsev
fcbf22a64a Merge branch 'master' of github.com:nim-lang/nimforum into emailtls 2020-05-10 15:52:13 +03:00
Joey
53ad811bf8
Merge pull request #245 from Yardanico/updkarax
Update Karax and Jester dependencies
2020-05-10 06:31:13 -06:00
Danil Yarantsev
55c9476810 Karax to 1.1.2 2020-05-10 13:11:46 +03:00
Danil Yarantsev
e749512818 Update Karax and Jester dependencies 2020-05-10 13:09:12 +03:00
Danil Yarantsev
a3052efd78 Add smptTls to config loading 2020-05-10 12:59:31 +03:00
Danil Yarantsev
6c6ed08ec9 startTls should be after connection of course 2020-05-10 12:56:13 +03:00
Danil Yarantsev
3b6e7363a9 Add ability to enable TLS for SMTP 2020-05-10 12:52:14 +03:00
hlaaftana
cd565eabe0
Change to row 2020-04-17 14:40:18 +03:00
hlaaftana
f0d9a89167
Fix query for executeDeletePost 2020-04-17 14:30:58 +03:00
hlaaftana
d8661f62c7
Let users delete their own posts, fixes #208 2020-04-15 10:29:42 +03:00
Joey Yakimowich-Payne
8984074809 Fix tests 2020-03-26 22:58:48 +00:00
Joey Yakimowich-Payne
3adba32f1f Left align users 2020-03-26 22:58:48 +00:00
Joey Yakimowich-Payne
f35d6c4a32 Rename default category and change color to grey 2020-03-26 22:58:48 +00:00
Joey Yakimowich-Payne
3db01a1d44 Show category column if not on mobile 2020-03-07 01:21:15 +01:00
Joey Yakimowich-Payne
dcea4091f4 Fix tests 2020-03-06 11:27:41 +01:00
Joey Yakimowich-Payne
c2cc26ea77 Make mobile viewing more friendly 2020-03-06 11:27:41 +01:00