Julian Lam
cee47f78b2
fix : #7289 timeago shorthand toggle fails on non-existant language
...
- Exposing timeagoCodes to frontend
- Timeago language and shorthand toggling will fall back to 'en'
if the requested language does not exist
2019-01-21 16:35:42 -05:00
Julian Lam
d81e0a5f5b
fix : #7146 Better RTL handling on (de-)authentication
...
- RTL is applied (or unapplied) on login and logout depending on
user language/guest-detected language.
- config is automatically saved into res.locals.config whenever
loadConfig is called
- On login/logout, buildHeader is called instead of getting config
- On logout, req.uid is deleted instead of set to 0
2018-12-21 11:49:11 -05:00
Barış Soner Uşaklı
9f5062682d
fix: unread badge
...
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
2018-12-15 16:38:30 -05:00
Barış Soner Uşaklı
989879a6b5
fix : #7115
2018-12-14 21:18:42 -05:00
Peter Jaszkowiak
89c025d102
feat: close #7002 , console message if mismatched origins
2018-11-30 13:38:59 -05:00
Baris Usakli
b83e50f286
remove delayImageLoading from api @julianlam
2018-11-20 17:20:07 -05:00
Julian Lam
501b3a79ca
Refactor skins to be built on server-side ( #6849 )
...
* WIP
* using bootswatch from npm instead of bootswatch CDN url
* feat: on-demand client css building for skins
* added ability for client-side to select a skin
* updated loading and saving logic of bootstrapSkin on client side user settings
* fix: broken test for #6849
2018-11-07 13:44:35 -05:00
Barış Soner Uşaklı
ac39112271
remove more parseInts
2018-10-21 19:33:46 -04:00
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
95f1a82884
closes #6591
2018-06-26 13:42:35 -04:00
Barış Soner Uşaklı
a7267df404
closes #6464
2018-05-28 11:29:41 -04:00
Barış Soner Uşaklı
cc3569bf51
closes #6491
2018-05-08 13:33:30 -04:00
Barış Soner Uşaklı
501d02220c
closes #6456
2018-04-13 17:09:46 -04:00
Julian Lam
c1aa46c663
added new option to disable post diffs /cc @BenLubar
2018-04-02 10:04:54 -04:00
Julian Lam
1ce448f2a1
Merge remote-tracking branch 'origin/master' into develop
2018-02-16 21:23:25 -05:00
Barış Soner Uşaklı
7b6282f530
closes #6308
2018-02-12 17:12:24 -05:00
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
2018-01-31 15:20:17 -05:00
Julian Lam
5c3155f145
firing hook on chat message load and exposing upload_url to client-side
2018-01-26 13:22:11 -05:00
Julian Lam
3d74fc8220
some changes to fix class names used, character countdown support, etc.
2017-12-20 12:58:59 -05:00
Julian Lam
6bd8740342
removing hasImageUploadPlugin from config api
2017-12-15 13:31:14 -05:00
Barış Soner Uşaklı
cb4930dac8
remove version and environment from config
2017-11-30 10:26:14 -05:00
Barış Soner Uşaklı
923bd86662
Widgets refactor ( #5817 )
...
* widgets refactor
render widgets server side
widgets can use all the data the template can use
* fix tests
2017-07-10 12:54:45 -04:00
Baris Usakli
e0de922ede
Revert "widgets refactor"
...
This reverts commit 9e94edb5aa .
2017-07-07 15:35:06 -04:00
Baris Usakli
9e94edb5aa
widgets refactor
...
render widgets server side
widgets can use all the data the template can use
2017-07-07 15:33:16 -04:00
Baris Usakli
dc0971c122
up composer
2017-05-29 13:13:16 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
a49e647de3
fixes #5545 again
2017-03-24 14:46:51 -04:00
Julian Lam
31b6d47f88
fixes #5545
2017-03-24 14:36:54 -04:00
psychobunny
f2eb4b8083
closes #5439
2017-03-10 14:03:07 -05:00
barisusakli
992e3128bd
closes #5499
2017-03-07 13:09:19 +03:00
barisusakli
e85e35cf0c
closes #5497
2017-03-05 00:46:18 +03:00
barisusakli
b1b87d339f
more refactors
2017-03-02 16:11:11 +03:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a
ESlint indent
2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
e86708cb0c
add cid to widgets.render
...
init date pickers in widgets ACP
2016-12-13 14:11:56 +03:00
barisusakli
4cb48c46ab
closes #5242
2016-11-30 16:28:30 +03:00
Peter Jaszkowiak
c5237443cd
Standard language codes ( #5218 )
...
* Use standard language codes. Fallback for plugins.
* Fix transifex config
* Tab vs space here for some reason
* Remove redundancies
* config.relative_path instead of allcaps
* added upgrade script for existing users' accounts
2016-11-23 11:50:49 -05:00
barisusakli
2c77a88ba4
closes #5220
2016-11-20 15:11:34 +03:00
Julian Lam
7d523fae0f
closes #5200
2016-11-11 13:00:23 -05:00
Julian Lam
e6c9c89342
closes #5197
2016-11-10 13:50:37 -05:00
Julian Lam
66aea0eed1
closes #5167
2016-11-01 13:00:37 -04:00
Julian Lam
02998669c3
introducing option to disable chat message editing/deletion
2016-10-21 14:36:38 -04:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
6d34bb4657
closes #2166
2016-08-29 12:43:37 +03:00
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
2016-08-27 15:45:15 +03:00
barisusakli
cb6db3625c
closes #4906
2016-08-04 21:12:03 +03:00
barisusakli
fcf145fc81
403 if not logged in, show error
2016-07-11 13:03:47 +03:00
barisusakli
7b86fd3dc0
closes #4835
2016-07-11 12:56:27 +03:00