1269 Commits (9846498df79dbbaeb8676e2418e46f295b741cdb)

Author SHA1 Message Date
Barış Soner Uşaklı 6cebc7f069 feat: #7627, close chat on ajaxify on mobile 6 years ago
yossizahn 1703233f48 fix: #7586, switchTimeagoLanguage shouldn't discriminate against languages w/o shorthands 6 years ago
Barış Soner Uşaklı bf6fc502c4 fix: #7564 6 years ago
Barış Soner Uşaklı c940a73359 fix: #7539 6 years ago
Barış Soner Uşaklı 32cf07d732 fix: #7464 6 years ago
Barış Soner Uşaklı f86d74d8b9 fix: #7424 6 years ago
Barış Soner Uşaklı 09681e6ccf fix: #7562 6 years ago
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.
6 years ago
Julian Lam d3a10628e7 fix: broken 50% border radius on emails, failing tests 6 years ago
Julian Lam 3a7f1c192b fix: failing tests from revamped-emails branch 6 years ago
Julian Lam f32a992237
feat: revamp email templates to be more style agnostic (#7375)
* 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
6 years ago
Julian Lam 158f68eb47 fix: search.api not working on subfolder 6 years ago
Barış Soner Uşaklı c01d43e01d feat: quick search 6 years ago
Julian Lam 96b6ce1f3c fix: eslint failure from daadcc4889 6 years ago
Andrew Rodrigues d864da1a2e
fix: move `action:alert.update` to after translator 6 years ago
Andrew Rodrigues daadcc4889
feat: add `action:alert.new`, `action:alert.update` hooks 6 years ago
Barış Soner Uşaklı 12c5899099 fix: #7339 6 years ago
Barış Soner Uşaklı c72da5595a fix: #6806
3 new global privileges
view:users
view:tags
view:groups
6 years ago
Barış Soner Uşaklı ae779ea4f9 fix: #7334 6 years ago
Barış Soner Uşaklı 9d1fcf4e36 fix: closes #7217 6 years ago
Barış Soner Uşaklı 0366cfd8ec fix: allow regular groups to local login 6 years ago
Julian Lam 7fb3c16882 fix: #7296, local login privilege available to registered-users only 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 af4fd5979f Revert "fix: #7216, hide taskbar on chat modal invocation on mobile"
This reverts commit a70db885cf.
6 years ago
Julian Lam a70db885cf fix: #7216, hide taskbar on chat modal invocation on mobile 6 years ago
Julian Lam 629b35546c fix: #7167, composer and chat not closing on logout 6 years ago
Barış Soner Uşaklı 29a85aecc7 fix: #7138 6 years ago
Barış Soner Uşaklı 4650a76036 fix: #7124 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ı f103390aa5 fix: #7103
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
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
Barış Soner Uşaklı 2604cf6356 fix: #7074 6 years ago
Barış Soner Uşaklı f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
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
Barış Soner Uşaklı e78aea1e86 close #7024
show error instead showing crop modal
6 years ago
Barış Soner Uşaklı 27c016d68d fix alert 6 years ago
Barış Soner Uşaklı 625516e046 if there is no search el return
aka if theme doesnt support it
6 years ago
Barış Soner Uşaklı 63c0a9a3b7 closes #6928 6 years ago
Barış Soner Uşaklı 169a6680d5 #6928 6 years ago
Baris Usakli 1454fdceff closes #6874 6 years ago
Barış Soner Uşaklı c02d584b53 reduce initial js payload/requests 6 years ago
Baris Usakli 0fd5210d37 really fix pagination on mobile 6 years ago
Baris Usakli 2624e302ab fix navigator on mobile 6 years ago
Baris Usakli c1ab753bc3 use paginationBlock 6 years ago
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
6 years ago
Barış Soner Uşaklı ac549f8bc7 closes #6957 6 years ago
Barış Soner Uşaklı f0dead7aba more tooltip work 6 years ago
Barış Soner Uşaklı 4b6b3d5436 set duration to 0 6 years ago
Barış Soner Uşaklı 85c832fcc6 add tooltip 6 years ago
Barış Soner Uşaklı fe8832ad5c dont update if index didnt change 6 years ago
Barış Soner Uşaklı 7b5c4f343a drag nav 6 years ago
Barış Soner Uşaklı b6771836cf closes #6937 6 years ago
Julian Lam f7bd398eb1 style(eslint): newlines in public/src as well 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ı fee3ec308a use showSelect 6 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* 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
6 years ago
Andrew Rodrigues c9fc65d901 more efficient selectors (apparently) 6 years ago
Julian Lam 762dac6a4a closes #6825 6 years ago
Barış Soner Uşaklı 3554a0a725 closes #6791, if fileSize isn't passed in don't perform check 7 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
7 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 7 years ago
André Zanghelini f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
7 years ago
Julian Lam 9d202d9be9 closes #424 7 years ago
Barış Soner Uşaklı c0156640e3 add back alert 7 years ago
Barış Soner Uşaklı 14d810c113 show error if cropper fails 7 years ago
Barış Soner Uşaklı d06f795856 fix scroll on back 7 years ago
Julian Lam b7fc8493b7 closes #6635 7 years ago
Julian Lam 266eacac7c closes #6655 7 years ago
Julian Lam a07b45fd0f closes #6642 7 years ago
Barış Soner Uşaklı 742ddd358b escape url 7 years ago
Barış Soner Uşaklı 017b10d5d6 closes #6544 7 years ago
Barış Soner Uşaklı c91b96c133 use data.roomName 7 years ago
Barış Soner Uşaklı b2d5551960 remove deprecated method 7 years ago
Barış Soner Uşaklı a1e933537b remove deprecated method 7 years ago
Barış Soner Uşaklı f0a538bd4a closes #6536 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Julian Lam 3688840f1f using modal-unfocused instead, so regular modals still appear on-top of composer
_now_ it closes #6532
7 years ago
Julian Lam 8164a52fc4 no longer using bringModalToTop, in favour of taskbar modal focused class
re: #6532
7 years ago
Julian Lam 32edfb6c5a updating chat logic to save uuid in data-uuid attr instead of uuid attr 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı 667630ff5d closes #6450 7 years ago
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 09ef3999b0 fix lint 7 years ago
Barış Soner Uşaklı a4c24cb66b fix saving multiple selects as json arrays 7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 11b15872d6 lint 7 years ago
Barış Soner Uşaklı caf43e3025 closes #6358 7 years ago
Barış Soner Uşaklı 749b282cdd add matchwords to search api 7 years ago
Baris Usakli 46576189be closes #6392 7 years ago
Barış Soner Uşaklı 2cbae54025 fix focus 7 years ago
Julian Lam 1e01af4d89 closes #6366 7 years ago
Julian Lam 4d9e2b1160 fixes #6354 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı 7d627fe19a #6338 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 651b1cc9f8 closes #6321 7 years ago