Commit Graph

39 Commits (688ade1fc7077397fccebfddfdeff86440f09da8)

Author SHA1 Message Date
psychobunny 76a2b4800b add back timeago.allowFuture so we can notify when a ban will expire
Barış Soner Uşaklı 670a5d9ca0 fix timestamp not showing for replies, remove allowFuture @julianlam
Peter Jaszkowiak b227297ef3 ESlint no-use-before-define
Peter Jaszkowiak a0a50677da ESlint n-loop-func, yoda
Peter Jaszkowiak 64a6322002 ESlint no-extra-boolean-cast
and no-shadow-restricted-names
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces
Peter Jaszkowiak 34e233fe1d ESlint spaced-comment
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments
Julian Lam d77f417cf3 allowing timeago timestamps to be in the future
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
barisusakli 4cb48c46ab closes
Julian Lam d28f7de19e fixes
Julian Lam 0f93206122 lint
Julian Lam 7d523fae0f closes
Julian Lam 885316d78f also show minutes and hours in cut off timestamp
Julian Lam 75ff60e4d5 partial revert of a9984bb, adding in a layer to translate ISO
timestamp to datetime attribute and save localised string into
title attribute.

Fixes 
barisusakli a9984bb926 closes
Sergii Paryzhskyi e515b791da Fix eslint rules ()
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 9a0d764bbd Fix wrap-iife linter rule
barisusakli 5983235875 .translateAttr
Julian Lam ff8fb0e9ab no need to set var, just use rjs
Manuel Valle a60e3c63cf Update overrides.js
Inside **translate** function, **translator** refers to *global* genereting warnings. Added a **translator** variable refering to **translator** module.
This solves some problems using *bootbox* in my plugins and widgets
Julian Lam dc916c5e3c closes
barisusakli fbfb39f967 moved socket connection out of app.js
Peter Jaszkowiak ad7b561dd4 Fixed translator backwards compatibility issue
Also removed the _clearMenus global object because populating the global namespace is bad, bad, bad
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global
psychobunny 32ce785e5a somebody was trying to save trees by reducing whitespace
burn the trees
psychobunny 540facaaab try (I give up, grunt-watch seems so unpredictable... on windows anyways)
barisusakli c5ccf4333b translate helpers
psychobunny 4cd86affae update all files with new url
Micheil Smith 3e82cab398 Add missing new lines at end of files.
barisusakli 1664d179b9 closes
akhoury b59c10a1e9 took out some overrides out utils to a new overrides.js