146 Commits (df5e3a7394563bb84c271d63527f0fd4df84d94c)

Author SHA1 Message Date
Barış Soner Uşaklı 4eaa630b1c refactor: async/await controllers/api 6 years ago
Barış Soner Uşaklı 25ea634787 fix: #7659 add option to change cookie link url 6 years ago
Julian Lam eafe76debb feat: add vote status to getPostData API call 6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Barış Soner Uşaklı 989879a6b5 fix: #7115 6 years ago
Peter Jaszkowiak 89c025d102 feat: close #7002, console message if mismatched origins 6 years ago
Baris Usakli b83e50f286 remove delayImageLoading from api @julianlam 6 years ago
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
6 years ago
Barış Soner Uşaklı ac39112271 remove more parseInts 6 years ago
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
6 years ago
Barış Soner Uşaklı 95f1a82884 closes #6591 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı cc3569bf51 closes #6491 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Julian Lam c1aa46c663 added new option to disable post diffs /cc @BenLubar 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 7b6282f530 closes #6308 7 years ago
Barış Soner Uşaklı ac1f7eefe5 closes #2304 7 years ago
Julian Lam 5c3155f145 firing hook on chat message load and exposing upload_url to client-side 7 years ago
Julian Lam 3d74fc8220 some changes to fix class names used, character countdown support, etc. 7 years ago
Julian Lam 6bd8740342 removing hasImageUploadPlugin from config api 7 years ago
Barış Soner Uşaklı cb4930dac8 remove version and environment from config 7 years ago
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
8 years ago
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
8 years ago
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
8 years ago
Baris Usakli dc0971c122 up composer 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam a49e647de3 fixes #5545 again 8 years ago
Julian Lam 31b6d47f88 fixes #5545 8 years ago
psychobunny f2eb4b8083 closes #5439 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
barisusakli b1b87d339f more refactors 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
8 years ago
barisusakli 4cb48c46ab closes #5242 8 years ago
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
8 years ago
barisusakli 2c77a88ba4 closes #5220 8 years ago
Julian Lam 7d523fae0f closes #5200 8 years ago
Julian Lam e6c9c89342 closes #5197 8 years ago
Julian Lam 66aea0eed1 closes #5167 8 years ago
Julian Lam 02998669c3 introducing option to disable chat message editing/deletion 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago