Commit Graph

1539 Commits (3b125ba27e162f6a0439b12a1f9a10a4ece18add)

Author SHA1 Message Date
Barış Soner Uşaklı c8fb7f9246 fix: escape register query param
Barış Soner Uşaklı 05c9fe2735 feat: , allow changing user groups from manage users page
Barış Soner Uşaklı ca3be1f336
fix: ()
Barış Soner Uşaklı 9a7560049a feat: bypass cropper for gifs
Barış Soner Uşaklı e0fec86628 fix: dont crash if callback is undefined
Barış Soner Uşaklı 35a4ca2fe9 feat: add sm2x avatar class
Julian Lam 9b09ee0e93 feat: client-side taskbar.update method, deprecates .updateTitle()
Julian Lam 1796b65d34 feat: option to restrict group leaving, closes
Barış Soner Uşaklı ad96b0e0db feat: preserver querystring when changing category sort
Julian Lam 0921230976 fix(style): updated code to follow new eslint recommendations
Squashed commit of the following:

commit f9ce878b269b3568f0d649309aae1af4dcfdfeef
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Aug 13 14:30:46 2019 -0400

    fix(style): updated code to follow new eslint recommendations

commit 80dd370e413f22badb96ff2138e7991dfff6d836
Author: Julian Lam <julian@nodebb.org>
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 <julian@nodebb.org>
    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 <julian@nodebb.org>
    Date:   Tue Aug 13 11:09:55 2019 -0400

        Merge branch 'master' into renovate/sitemap-4.x

    commit e3352b272eb9400bdb00774973181397803765e4
    Author: Renovate Bot <bot@renovateapp.com>
    Date:   Mon Aug 12 07:59:05 2019 +0000

        fix(deps): update dependency sitemap to v4

commit 8e3c0cdcae22acc32d352be8bb72d60e7502dbc5
Author: Renovate Bot <bot@renovateapp.com>
Date:   Fri Aug 9 00:49:51 2019 +0000

    fix(deps): update dependency commander to v3

commit 2104449d38818f2fa4d44b3a58a0a168781acbfb
Author: Renovate Bot <bot@renovateapp.com>
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ı <barisusakli@gmail.com>
Date:   Tue Aug 13 10:36:48 2019 -0400

    feat: async/await admin/controllers

commit 1b97e8b199f960dc24e5722702f27499ae049914
Author: Misty (Bot) <deploy@nodebb.org>
Date:   Tue Aug 13 09:28:39 2019 +0000

    Latest translations and fallbacks

commit 69a48957a2f0d23c4d194b664bda3a0431179c01
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Aug 12 21:56:09 2019 -0400

    feat: async/await

commit b9b2a7e593a452de4bef6d0ab6abe368a3bdb8dd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Aug 12 20:58:29 2019 -0400

    feat: async/await refactor

    controllers/accounts

commit a8d43a175974a0c8ae3dc132bf51a7ed9a4c6305
Author: Baris Usakli <barisusakli@gmail.com>
Date:   Mon Aug 12 14:49:40 2019 -0400

    feat: async/await controllers/accounts

commit 2f25aae57bf9dbe98d655276770e56bed9ec023b
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 23:09:50 2019 -0400

    fix: , fix pagination

    convert to async/await

commit c9e83f2374572264855a04156278eef256b0a20c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 00:14:35 2019 -0400

    fix: remove empty line

commit 30be91b26c4dd7583412c4e8d56e9c1688e48a44
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 00:13:41 2019 -0400

    fix: remove useless catchs and empty line

commit 2e4a71c0b6104738f15ffbfe3246105b922fdfb3
Author: Renovate Bot <bot@renovateapp.com>
Date:   Sat Aug 10 06:51:50 2019 +0000

    chore(deps): update dependency eslint-config-airbnb-base to v14
Julian Lam 3d3fa8655d feat: new client-side hooks for chat minimize and close
closes 
Barış Soner Uşaklı 666e0eaff9 fix: , fix nested post selection
Barış Soner Uşaklı 53e1b349ae
Change post owner ()
* feat: , allow array of keys for setObject

* feat: sortedSetRemoveBulk

* feat: test for bulk remove

* feat: , ability to change post ownership

* feat: , fix tid:<tid>:posters

* feat: , front end

* fix: , psql methods

* fix: add missing await

* fix: maybe psql
Barış Soner Uşaklı bd640a1107
Topic await errors ()
* feat: derp await

* feat: restore user.getSettings

* feat: cleanup

* feat: make tid const

* feat: cleanup

* fix: tests

* feat: deprecate filter:controllers.topic.get

* feat: rewrite post-index logic

* feat: change calculation to match others

* fix: use .async

* feat: remove try/catch wrapper
Julian Lam 69fae1a7e4 fix: output span in buildAvatar helper instead of div
In not-so-rare circumstances, the avatar generated is wrapped in
an anchor so that when clicked, it goes to the user profile.

Unfortunately, html 4 spec doesn't like block level elements
inside anchors (since an anchor is an inline element), and even
though we define html5 doctype, browsers still reorder the div
and anchor, beats me as to why.

So I can trick the browser by using a span. The css already styles
it as inline-block so no further fixes are required.
Aziz Khoury 13efbc9967 feat: change widget-* to data-widget-* ()
* change widget-* to data-widget-*, original pr#5444 but backward compatible

* lint
Julian Lam 2523889990
refactor: replace avatar conditional code with buildAvatar helper ()
* feat: helper for building avatars

* feat: benchpress truefalse globals, componentPrefix in buildAvatar

* refactor: remove componentPrefix

* feat: changes to buildAvatar helper

- removed extra .avatar-xl class in generics.less
- added support for component override
- "size" can be a number now

* fix: prevent overflow of alt text in avatars

* fix: update doc on buildAvatar helper
Barış Soner Uşaklı 8aef689f05 fix: no need for moderate bit for global mods and admins
Barış Soner Uşaklı ebb32e7891 fix: attribute name so it works for both templates
Barış Soner Uşaklı 0721bee146 feat: on category search reveal children and parents
Barış Soner Uşaklı 6cebc7f069 feat: , close chat on ajaxify on mobile
yossizahn 1703233f48 fix: , switchTimeagoLanguage shouldn't discriminate against languages w/o shorthands
Barış Soner Uşaklı bf6fc502c4 fix:
Barış Soner Uşaklı c940a73359 fix:
Barış Soner Uşaklı 32cf07d732 fix:
Barış Soner Uşaklı f86d74d8b9 fix:
Barış Soner Uşaklı 09681e6ccf fix:
Julian Lam 3871a02ccc fix: resolve CORS error on uploading via URL
On uploading a new profile picture via URL, a CORS error presents
itself during the .toDataUrl() call due to misconfigured CORS
handling in the library. The change here allows cropper.js to
check crossorigin attribute in image and handle appropriately.

Also, the error handling is improved so the error is caught on
Firefox, as it sends a different error message than on Chrome.
Julian Lam d3a10628e7 fix: broken 50% border radius on emails, failing tests
Julian Lam 3a7f1c192b fix: failing tests from revamped-emails branch
Julian Lam f32a992237
feat: revamp email templates to be more style agnostic ()
* feat: re-designed digest

Updated design, logic no longer shows "no topics", just doesn't
show the list at all, teaser re-retrieved for digest so that it
always grabs a teaser even if there is no reply, changed default
email background to a light grey.

* fix: minor padding issues in digest

* fix: banned template

* fix: invitation.tpl

* fix: removed unused notif_chat and notif_post email templates

* fix: notification template

* fix: registration_accepted template

* fix: reset tpl

* fix: test tpl

* fix: email verify tpl

* fix: reset notify tpl

* fix: welcome tpl

* fix: additional minor font fixes

* fix: removed unused email header image assets

* fix: internationalised 'your daily digest' string

* fix: broken url in digest 🤦

* feat: added RTL support for emailer

/cc @PostMidnight
Julian Lam 158f68eb47 fix: search.api not working on subfolder
Barış Soner Uşaklı c01d43e01d feat: quick search
Julian Lam 96b6ce1f3c fix: eslint failure from daadcc4889
Andrew Rodrigues d864da1a2e
fix: move `action:alert.update` to after translator
Andrew Rodrigues daadcc4889
feat: add `action:alert.new`, `action:alert.update` hooks
Barış Soner Uşaklı 12c5899099 fix:
Barış Soner Uşaklı c72da5595a fix:
3 new global privileges
view:users
view:tags
view:groups
Barış Soner Uşaklı ae779ea4f9 fix:
Barış Soner Uşaklı 9d1fcf4e36 fix: closes
Barış Soner Uşaklı 0366cfd8ec fix: allow regular groups to local login
Julian Lam 7fb3c16882 fix: , local login privilege available to registered-users only
Julian Lam cee47f78b2 fix: 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
Julian Lam af4fd5979f Revert "fix: , hide taskbar on chat modal invocation on mobile"
This reverts commit a70db885cf.
Julian Lam a70db885cf fix: , hide taskbar on chat modal invocation on mobile
Julian Lam 629b35546c fix: , composer and chat not closing on logout
Barış Soner Uşaklı 29a85aecc7 fix:
Barış Soner Uşaklı 4650a76036 fix:
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
Barış Soner Uşaklı f103390aa5 fix:
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
Julian Lam 5f3d1c76c8
fix: , autoLocale logic not playing nicely with no-refresh auths ()
* fix: , 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
Barış Soner Uşaklı 2604cf6356 fix:
Barış Soner Uşaklı f581c052ee feat:
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
Baris Usakli cd02e03f7b don't crash if meta.config is undefined
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences
Barış Soner Uşaklı e78aea1e86 close
show error instead showing crop modal
Barış Soner Uşaklı 27c016d68d fix alert
Barış Soner Uşaklı 625516e046 if there is no search el return
aka if theme doesnt support it
Barış Soner Uşaklı 63c0a9a3b7 closes
Barış Soner Uşaklı 169a6680d5
Baris Usakli 1454fdceff closes
Barış Soner Uşaklı c02d584b53 reduce initial js payload/requests
Baris Usakli 0fd5210d37 really fix pagination on mobile
Baris Usakli 2624e302ab fix navigator on mobile
Baris Usakli c1ab753bc3 use paginationBlock
Baris Usakli c343b93a37 optimize ajaxify
- do not call $.timeago twice on topic load and for widgets
- do not use toLocaleString for each timeago string, use a single
Intl.DateTimeFormat instance instead
- do not call format for empty timeago strings, ie a post that isnt
edited doesnt have a timeago string
- do not call isTouchDevice for every element
- remove app.replaceSelfLinks, this is superceded with /me route
- store references to jquery objects in navigator instead of creating
them on every scroll
Barış Soner Uşaklı ac549f8bc7 closes
Barış Soner Uşaklı f0dead7aba more tooltip work
Barış Soner Uşaklı 4b6b3d5436 set duration to 0
Barış Soner Uşaklı 85c832fcc6 add tooltip
Barış Soner Uşaklı fe8832ad5c dont update if index didnt change
Barış Soner Uşaklı 7b5c4f343a drag nav
Barış Soner Uşaklı b6771836cf closes
Julian Lam f7bd398eb1 style(eslint): newlines in public/src as well
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 ()
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: , linting 😬
Barış Soner Uşaklı fee3ec308a use showSelect
Barış Soner Uşaklı c27be9db5a
Recent refactor ()
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
Andrew Rodrigues c9fc65d901 more efficient selectors (apparently)
Julian Lam 762dac6a4a closes
Barış Soner Uşaklı 3554a0a725 closes , if fileSize isn't passed in don't perform check
Barış Soner Uşaklı 71ccd67665 closes
calculate size of base64 image from buffer, still not perfect but better than string.length
Barış Soner Uşaklı d880a7ade0 closes
André Zanghelini f3956299eb Add tooltip in taskbar icons ()
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
Julian Lam 9d202d9be9 closes
Barış Soner Uşaklı c0156640e3 add back alert
Barış Soner Uşaklı 14d810c113 show error if cropper fails
Barış Soner Uşaklı d06f795856 fix scroll on back
Julian Lam b7fc8493b7 closes
Julian Lam 266eacac7c closes
Julian Lam a07b45fd0f closes
Barış Soner Uşaklı 742ddd358b escape url
Barış Soner Uşaklı 017b10d5d6 closes
Barış Soner Uşaklı c91b96c133 use data.roomName
Barış Soner Uşaklı b2d5551960 remove deprecated method
Barış Soner Uşaklı a1e933537b remove deprecated method
Barış Soner Uşaklı f0a538bd4a closes
Barış Soner Uşaklı b0dad9bd7f closes
Barış Soner Uşaklı 81328806a0 closes
Julian Lam 3688840f1f using modal-unfocused instead, so regular modals still appear on-top of composer
_now_ it closes 
Julian Lam 8164a52fc4 no longer using bringModalToTop, in favour of taskbar modal focused class
re: 
Julian Lam 32edfb6c5a updating chat logic to save uuid in data-uuid attr instead of uuid attr
Barış Soner Uşaklı a7267df404 closes
Barış Soner Uşaklı 667630ff5d closes
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 501d02220c closes
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı 09ef3999b0 fix lint
Barış Soner Uşaklı a4c24cb66b fix saving multiple selects as json arrays
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı 11b15872d6 lint
Barış Soner Uşaklı caf43e3025 closes
Barış Soner Uşaklı 749b282cdd add matchwords to search api
Baris Usakli 46576189be closes
Barış Soner Uşaklı 2cbae54025 fix focus
Julian Lam 1e01af4d89 closes
Julian Lam 4d9e2b1160 fixes
Julian Lam c93f943bef Merge branch 'develop'
Barış Soner Uşaklı 7d627fe19a
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 651b1cc9f8 closes
Barış Soner Uşaklı 6cbd70d510 closes
Barış Soner Uşaklı 0f2f97a78a Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı adc7054390 fix go to post if its on page
Barış Soner Uşaklı 089769c107 closes
Barış Soner Uşaklı b2cb3def98 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
RoiEX 92d3844988
Start reading progress at 0
Julian Lam d8b67606bc fixed height detection in chat modal
Julian Lam d0a1eb61bc Updates to allow better chats integration
- Removed unused .createTagsInput method
- Firing action:chat.loaded client-side hook in all cases of chat now
  - New chat window (modal)
  - New chat page load
  - Chat switch event
Julian Lam 3de54a5488 Merge branch 'develop' into chat-rewrite
Julian Lam f37b9d786d Merge remote-tracking branch 'origin/master' into develop
Julian Lam 2ad2ef96ba no taskbar invocation on chats page, fixes
Barış Soner Uşaklı 2f3b7279be closes
Julian Lam 8f5dccdfb5 Chat fixes
- Fixed issue where clicking into a chat didn't update unread state
- Fixed issue where receiving new messages in chat page didn't mark chat
  unread
- Fixed issue where chat title sets were broken in modal and page
- Removed chat leave toggle in chat list (is now in chat dropdown)
Julian Lam 9bcd4928c7 Merge branch 'develop' into chat-rewrite
Julian Lam ec07247854 Merge remote-tracking branch 'origin/master' into develop
Julian Lam 19e53ab61b Lots o' chat changes
- Added chat room management (instead of tagsinput)
- Chat leave button in chat options dropdown
- Refreshing participants when user is added
- Updated autocomplete module so that it can be shown above a modal
  (z-index 100005 > 20000)
- Using cant-chat-with-yourself source string, which wasn't defined
  before, but was still used
Barış Soner Uşaklı ff72d022c1 closes
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite
Julian Lam d1ccd78ac2 Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 8446a733e5 closes
Julian Lam cd4d0049e6 fixed broken UI in chat modal, send btn
Julian Lam 82bfd6edfd added a new component shortcut and updated title setting logic
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
Julian Lam dee18d8442 Merge branch 'develop' into chat-rewrite
Julian Lam 8588a54ff2 Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 783d2eb073 remove console.log
Julian Lam eea124b312 room rename logic
Julian Lam c9364291fb Merge branch 'develop' into chat-rewrite
Julian Lam f2c251e89c Merge branch 'master' into develop
Barış Soner Uşaklı c12b42180d closes
Baris Usakli 242dc41aca move privileges to same page
Julian Lam 5c3c608109 fix chat resizing of modal to work with flexbox implementation
Julian Lam 290aa312b4 fixed call to missing method,
Barış Soner Uşaklı 548ec6baf7 closes
Julian Lam 78c83f2561 fixing tests
Julian Lam 17c52a515d fix incorrect padding/margin values in images in digest
Barış Soner Uşaklı cb4930dac8 remove version and environment from config
Barış Soner Uşaklı 63388be44c closes
Julian Lam cf9fe0d5af closes
Barış Soner Uşaklı cd3d1f07e0
fix flagReason
Barış Soner Uşaklı 80ecd4ba6d closes
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop'
Julian Lam e42ff47e5c closes
Peter Jaszkowiak f4355efb30 Optimize translator
- Use `slice` less
- Skip iterations with `indexOf`
Peter Jaszkowiak 189008af75 Optimize translator
- Use `slice` less
- Skip iterations with `indexOf`
Peter Jaszkowiak 190eea5691 Remove this useless check
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency
Peter Jaszkowiak 1c35213934 Fix and forking while debugging ()
* Fix forking while debugging

Debugger address in use no longer happens

* Fix cropper error
RoiEX e1f180ea3f Remove uneccessary undefined declaration
RoiEX ce9a3f20c5 Optimize transition
RoiEX 5e4e523198 Make progress bar finer
RoiEX 1fd160a4e6 Add Support for Firefox OSD
Peter Jaszkowiak c91dfb46f6 Switch module t.js usage to Benchpress
Peter Jaszkowiak abffc29128 Use Benchpress ()
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
Barış Soner Uşaklı ff88be91fa Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı 5dfb2fb83a up themes, fix notif test
Julian Lam c1d7b06ded Fixes
- Notifications.getMultiple now takes an optional uid parameter
- If a notification link in dropdown points to a topic and you're
  in said topic, you will be scrolled to the post instead of
  ajaxified to it.
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Baris Usakli 5a968730d5 closes
Baris Usakli f1f8a587d4 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
Barış Soner Uşaklı bca79da8c6 closes
add in-topic search support to dbsearch
prevent multiple click handlers on in-topic search widget(each click was
causing multiple scrolls)
fix index
Julian Lam c2f1d254cc Merge branch 'master' into develop
Barış Soner Uşaklı 34d9b57b26 fix wrong function name, change dom to data @julianlam
Julian Lam 3ddf332e0c added two new client-side hooks for search to allow plugins to add fields
Julian Lam 77ec169591 added two new client-side hooks for search to allow plugins to add fields
Baris Usakli 7538210b07
load correct timeago settings on cold load instead of after page load
Julian Lam 3f2c183cbd Merge branch 'master' into develop
Peter Jaszkowiak f1c955e6fc Fix scrollStop not working sometimes
Baris Usakli 5167c1aa4f Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Baris Usakli 4890731444 don't error if topicsContainer is not set
Baris Usakli e8bff210c9 clear selectedCategory on init
Barış Soner Uşaklı b64ba40c67 closes
Julian Lam e604d6e23e closes
Barış Soner Uşaklı b13ed26587 closes
Baris Usakli 8ea5c060f5 closes
Peter Jaszkowiak aefdc4b24b Refactor helpers import/export
Baris Usakli da8b1b605c
psychobunny 9cb5f71e08 also don't show category section in subcategory listing
Julian Lam 74965654de adjusted cropbox max-height calculation to be dynamic
Julian Lam 3e218a75b8 allowed zooming again @pichalite
Julian Lam 30bec51a21 removed cropper zoom and using image scaling to show entire image. Click on modal backdrop during crop will no longer close modal
Peter Jaszkowiak 542ae5e71f Extract in-place translation from bootbox wrapper for use anywhere
Barış Soner Uşaklı 29c0b8337e closes
Barış Soner Uşaklı 3a1eba2537 merge
Barış Soner Uşaklı 986e52897d fix crash if locale is undefined
Peter Jaszkowiak 81e23a8a9a Fix
Barış Soner Uşaklı 081578c7f4 Merge pull request from NodeBB/auto-lang
Automatically detect user language based on browser accepts header
Peter Jaszkowiak 64bf542d17 Fix HTML `lang` attribute using the `defaultLang`
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
Barış Soner Uşaklı c43a4e4b82 Merge pull request from NodeBB/fix-5536
Fix 
barisusakli 08dd412896 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/upgrade.js
barisusakli 73700ed747 closes
Peter Jaszkowiak cc76a8663d Add flag for detecting if the mock is being used
Peter Jaszkowiak 30b47d39f3 Fix
Peter Jaszkowiak 9d8ff4ea3e Fix images not displaying in signatures
barisusakli 236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
barisusakli fb3020f892 closes
Peter Jaszkowiak 2827db3309 Fix sounds playing through multiple tabs
barisusakli e3205bcfad merge
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate
Julian Lam a141835cf8 Merge branch 'master' into develop
Peter Jaszkowiak 1fb48ef7a7 Fix ()
* Fix 
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
Peter Jaszkowiak 484a800327 Merge branch master into develop
Peter Jaszkowiak 980e9026f3 Fix , translator ignores unclosed tokens
Anil Mandepudi da183e196a Fixes ()
* Fixes 

* Adding trailing commas but in protest
Julian Lam 793555a344 Merge branch 'master' into develop
Julian Lam af2d9fb85b Merge branch 'master' into develop
Accalia de Elementia 743a7e00b4 fix: auto cropper on image upload selects maximum image area by default
barisusakli 284485c885 check data.config
Julian Lam b1ceec7571 Merge remote-tracking branch 'origin/master' into develop
barisusakli 347761173a helpers tests
Julian Lam 72e77772db Merge branch 'master' into develop
Julian Lam 995f8296a4 linting
Julian Lam e71bd7a27f Merge branch 'master' into styleguide
barisusakli 048eb8a320 some helper tests
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files
Julian Lam 672d7352bb Merge branch 'master' into develop
Julian Lam e887dda37a Merge pull request from pichalite/image-dimension
Use ACP profile image dimension setting in cropper
Julian Lam e427f1663e Merge pull request from NodeBB/sounds-refactor
Sound system improvements
Julian Lam 62e0f5f883 Merge remote-tracking branch 'origin/master' into develop
pichalite fd0f0beaf2 lint
pichalite a99572fc48 Use ACP profile image dimension setting in cropper
Peter Jaszkowiak 23540afaeb Resolve merge conflicts
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return
Peter Jaszkowiak 11cb3a9554 ESlint operator-assignment, block-scoped-var
Peter Jaszkowiak 04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc
Peter Jaszkowiak 32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
Peter Jaszkowiak daa169c094 ESlint no-unused-expressions
Peter Jaszkowiak ac2f69f7af ESlint no-return-assign
and no-restricted-modules
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 1493afee2a ESlint indent
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak feb8405f95 ESlint eol-last
Peter Jaszkowiak 41896e1fc7 ESlint lines-around-directive
Peter Jaszkowiak f3a8256f35 ESlint strict
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak a5a3f3089a ESlint no-mixed-operators
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces
Peter Jaszkowiak b1b486f729 ESlint quote-props
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
Peter Jaszkowiak d1101a7fb4 ESlint dot-notation
and func-call-spacing
Peter Jaszkowiak d9c1f6f088 ESlint no-extra-semi
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
pichalite 8dab8864f6 Add extensions for cropped images
barisusakli d6cdc6d34d Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Peter Jaszkowiak 9f15008247 Address review issues
Julian Lam a379b03e71 lint
Julian Lam f7f5b2c8d9 Merge remote-tracking branch 'origin/master' into develop
Julian Lam 802878c371 Merge pull request from pichalite/cropper
Make cropper in to a module
barisusakli e009ce5609 closes
Peter Jaszkowiak c75391f9f5 Sound system improvements
- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
pichalite 2ca8f60e77 Finalize cropper module
pichalite d784a8dce8 Restore uploader.js
pichalite 43f4d9819e Linting
pichalite 484891472e Make cropper in to a module
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop
Julian Lam b5daedb7a3 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route
Julian Lam bfd16d188e Merge branch 'master' into develop
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts
pichalite de28ff5d43 Ability to crop profile images before uploading
Peter Jaszkowiak bb7a35b85c Fix translator catching JS errors in callbacks
barisusakli f1f00b63fb closes
Julian Lam 7414482753 Merge branch 'master' into develop
Julian Lam 05c724de30 added new hook for messaging teaser retrieval, and casting input as String before execuring stripTags templates helper
barisusakli 33e452cc8e fix lint
barisusakli 0b95eab71e use roomName if availabe in taskbar
if room is renamed update title on taskbar
Julian Lam 73879b824c Merge branch 'master' into develop
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=`
Peter Jaszkowiak e1a29f4aa8 Switch to `assets` route
Peter Jaszkowiak b4b3be3d97 Cache bust translations, query param name
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding
Julian Lam 43056a4bfa Merge branch 'master' into develop
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations
Julian Lam 2c6beb9ffb Merge branch 'master' into develop
Barış Soner Uşaklı aa32e7b359 fix indents
loopback0 a86134cc5b Fix selection
Tweak to allow the shift + click behaviour for the checkboxes while still letting the browser behaviour work
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop
Anil Mandepudi 8ddf7eb922 Use scrollStop in chat ()
Julian Lam db20df0110 Merge branch 'master' into develop
Julian Lam a8521d0349 remove double-click to mark all notifications read
Julian Lam c640bdf2b9 Merge branch 'master' into develop
Peter Jaszkowiak bae1daf5dc Bootbox wrapper improvements
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 1fed01fe43 ability to filter search by tags
Julian Lam 76bcc1c327 Merge branch 'flagging-refactor' into develop
Barış Soner Uşaklı 4ff3d06f90 escape labelColor, icon, cover:position, validate toPid
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor
Peter Jaszkowiak bb5fe0cc83 Escape arguments in `Translator.compile`
Peter Jaszkowiak a81aad61ab Add tests for translator static methods
Peter Jaszkowiak 7c697759e9 Escape and ignore `%` and `\,` in translator args
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged,
psychobunny 6b7b51eaf0 Merge pull request from pitaj/master
ACP search updated to support translations
Stuart Williams cafc5cd891 closes
Peter Jaszkowiak 5843e8dd77 Fix Translator to work with namespace paths
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb
barisusakli 2291899f4f show chat room title in taskbar
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications
Peter Jaszkowiak c5237443cd Standard language codes ()
* 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
barisusakli 1a9dd2311c closes
barisusakli ff08cbf677 replies to posts
Peter Jaszkowiak 2824ce5587 Translator modules ()
* Translator modules

* Fix language not being passed on creation

* fix test failures
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
Julian Lam 9a0d81ef6b closes
Julian Lam 9f226b2305 LINT :rage2:
Julian Lam 42b01060d7 up themes, allow chat modal to be minimised
psychobunny ad52d1a1aa latest chats design
Peter Jaszkowiak f519a36560 Fix , translator now accepts keys with `/` ()
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
HeeL 9a0d764bbd Fix wrap-iife linter rule
Peter Jaszkowiak 2ce33ba2b0 Fix , translator made more safe ()
Barış Soner Uşaklı 83a817a221 use navigator selector
barisusakli 6f86621e30 closes
Anil Mandepudi dbbc24fab3 remove reference to undefined function
barisusakli aca0a893e7 remove since properly
barisusakli 0da9bf2698 remove since in chat
barisusakli a93ee97926 closes
barisusakli 5c70e503aa closes
barisusakli 1866f93e9c closes
barisusakli 33306f6236 show stack on error