Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b269b3568f0d649309aae1af4dcfdfeef
Author: Julian Lam <[email protected] >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e413f22badb96ff2138e7991dfff6d836
Author: Julian Lam <[email protected] >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb21e26fdc21f8413be822ea7c64251f8
Author: Julian Lam <[email protected] >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee16dcc27a8dcc2e4479d1bc5e2d1b60e
Merge: e3352b272 72590b346
Author: Julian Lam <[email protected] >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272eb9400bdb00774973181397803765e4
Author: Renovate Bot <[email protected] >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae22acc32d352be8bb72d60e7502dbc5
Author: Renovate Bot <[email protected] >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38818f2fa4d44b3a58a0a168781acbfb
Author: Renovate Bot <[email protected] >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a21131c070ae5d0ff33d67cfe465b8c
Author: Barış Soner Uşaklı <[email protected] >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199f960dc24e5722702f27499ae049914
Author: Misty (Bot) <[email protected] >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2f0d23c4d194b664bda3a0431179c01
Author: Barış Soner Uşaklı <[email protected] >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593a452de4bef6d0ab6abe368a3bdb8dd
Author: Barış Soner Uşaklı <[email protected] >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a175974a0c8ae3dc132bf51a7ed9a4c6305
Author: Baris Usakli <[email protected] >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57bf9dbe98d655276770e56bed9ec023b
Author: Barış Soner Uşaklı <[email protected] >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374572264855a04156278eef256b0a20c
Author: Barış Soner Uşaklı <[email protected] >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c4dd7583412c4e8d56e9c1688e48a44
Author: Barış Soner Uşaklı <[email protected] >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6104738f15ffbfe3246105b922fdfb3
Author: Renovate Bot <[email protected] >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
6 years ago
yossizahn
1703233f48
fix : #7586 , switchTimeagoLanguage shouldn't discriminate against languages w/o shorthands
6 years ago
Barış Soner Uşaklı
ae779ea4f9
fix : #7334
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
5f3d1c76c8
fix : #7038 , autoLocale logic not playing nicely with no-refresh auths ( #7059 )
...
* fix : #7038 , autoLocale logic not playing nicely with no-refresh auths
- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
webserver.js into new middleware method.
* style: tests, use lodash
* fix: timeago strings not switching languages on login or out
6 years ago
Baris Usakli
cd02e03f7b
don't crash if meta.config is undefined
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
6 years ago
Barış Soner Uşaklı
7d627fe19a
#6338
7 years ago
Barış Soner Uşaklı
2f3b7279be
closes #6212
7 years ago
Barış Soner Uşaklı
c12b42180d
closes #6189
7 years ago
Barış Soner Uşaklı
cb4930dac8
remove version and environment from config
7 years ago
Barış Soner Uşaklı
63388be44c
closes #6084
7 years ago
Peter Jaszkowiak
189008af75
Optimize translator
...
- Use `slice` less
- Skip iterations with `indexOf`
7 years ago
Peter Jaszkowiak
190eea5691
Remove this useless check
7 years ago
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
7 years ago
Baris Usakli
7538210b07
#5772
...
load correct timeago settings on cold load instead of after page load
8 years ago
Barış Soner Uşaklı
b64ba40c67
closes #5772
8 years ago
Peter Jaszkowiak
542ae5e71f
Extract in-place translation from bootbox wrapper for use anywhere
8 years ago
barisusakli
08dd412896
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
...
# Conflicts:
# src/upgrade.js
8 years ago
Peter Jaszkowiak
9d8ff4ea3e
Fix images not displaying in signatures
8 years ago
barisusakli
e3205bcfad
merge
8 years ago
Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
8 years ago
Julian Lam
a141835cf8
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
1fb48ef7a7
Fix #5592 ( #5593 )
...
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents
* Fix tests
8 years ago
Peter Jaszkowiak
484a800327
Merge branch master into develop
8 years ago
Peter Jaszkowiak
980e9026f3
Fix #5588 , translator ignores unclosed tokens
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
93f38d4f30
ESlint no-multi-assign
...
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak
04bb6513b0
ESlint no-cond-assign, no-void, valid-jsdoc
8 years ago
Peter Jaszkowiak
1493afee2a
ESlint indent
8 years ago
Peter Jaszkowiak
f3a8256f35
ESlint strict
8 years ago
Peter Jaszkowiak
a038c66549
ESlint quotes
8 years ago
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
8 years ago
Peter Jaszkowiak
b09b3aef7f
ESlint no-undef, remove global comments
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Julian Lam
8a0a74d95e
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Julian Lam
bfd16d188e
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
360a35d0a6
Resolve merge conflicts
8 years ago
Peter Jaszkowiak
bb7a35b85c
Fix translator catching JS errors in callbacks
8 years ago
barisusakli
f1f00b63fb
closes #5400
8 years ago
Peter Jaszkowiak
05b68391dd
Use `/assets` for client assets
...
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
8 years ago
Peter Jaszkowiak
e1a29f4aa8
Switch to `assets` route
8 years ago
Peter Jaszkowiak
b4b3be3d97
Cache bust translations, query param name
8 years ago
Peter Jaszkowiak
2f07c18c5a
All hail the glorious translation prebuilding
8 years ago
Peter Jaszkowiak
ffa2bd14f8
Fix reverse proxies breaking admin translations
8 years ago
Peter Jaszkowiak
bae1daf5dc
Bootbox wrapper improvements
8 years ago
Peter Jaszkowiak
0b4c39338e
Translation bootbox wrapper
...
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
8 years ago
Peter Jaszkowiak
bb5fe0cc83
Escape arguments in `Translator.compile`
8 years ago
Peter Jaszkowiak
a81aad61ab
Add tests for translator static methods
8 years ago