1314 Commits (113d3324fbf01c751730f106dfb475233fee4957)

Author SHA1 Message Date
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 6 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
6 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 6 years ago
André Zanghelini f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
6 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
Barış Soner Uşaklı 6cbd70d510 closes #6307 7 years ago
Barış Soner Uşaklı 0f2f97a78a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı adc7054390 fix go to post if its on page 7 years ago
Barış Soner Uşaklı 089769c107 closes #6302 7 years ago
Barış Soner Uşaklı b2cb3def98 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
RoiEX 92d3844988
Start reading progress at 0 7 years ago
Julian Lam d8b67606bc fixed height detection in chat modal 7 years ago
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
7 years ago
Julian Lam 3de54a5488 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam f37b9d786d Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 2ad2ef96ba no taskbar invocation on chats page, fixes #6227 7 years ago
Barış Soner Uşaklı 2f3b7279be closes #6212 7 years ago
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)
7 years ago
Julian Lam 9bcd4928c7 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam ec07247854 Merge remote-tracking branch 'origin/master' into develop 7 years ago
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
7 years ago
Barış Soner Uşaklı ff72d022c1 closes #6206 7 years ago
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam d1ccd78ac2 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 8446a733e5 closes #5569 7 years ago
Julian Lam cd4d0049e6 fixed broken UI in chat modal, send btn 7 years ago
Julian Lam 82bfd6edfd added a new component shortcut and updated title setting logic 7 years ago
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 7 years ago
Julian Lam dee18d8442 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam 8588a54ff2 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 783d2eb073 remove console.log 7 years ago
Julian Lam eea124b312 room rename logic 7 years ago
Julian Lam c9364291fb Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam f2c251e89c Merge branch 'master' into develop 7 years ago
Barış Soner Uşaklı c12b42180d closes #6189 7 years ago
Baris Usakli 242dc41aca move privileges to same page 7 years ago
Julian Lam 5c3c608109 fix chat resizing of modal to work with flexbox implementation 7 years ago
Julian Lam 290aa312b4 fixed call to missing method, #6181 7 years ago
Barış Soner Uşaklı 548ec6baf7 closes #6144 7 years ago
Julian Lam 78c83f2561 fixing tests 7 years ago
Julian Lam 17c52a515d fix incorrect padding/margin values in images in digest 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
Julian Lam cf9fe0d5af closes #6069 7 years ago
Barış Soner Uşaklı cd3d1f07e0
fix flagReason 7 years ago
Barış Soner Uşaklı 80ecd4ba6d closes #6036 7 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 7 years ago
Julian Lam e42ff47e5c closes #6018 7 years ago
Peter Jaszkowiak f4355efb30 Optimize translator
- Use `slice` less
- Skip iterations with `indexOf`
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
Peter Jaszkowiak 1c35213934 Fix #5970 and forking while debugging (#5965)
* Fix forking while debugging

Debugger address in use no longer happens

* Fix cropper error
7 years ago
RoiEX e1f180ea3f Remove uneccessary undefined declaration 7 years ago
RoiEX ce9a3f20c5 Optimize transition 7 years ago
RoiEX 5e4e523198 Make progress bar finer 7 years ago
RoiEX 1fd160a4e6 Add Support for Firefox OSD 7 years ago
Peter Jaszkowiak c91dfb46f6 Switch module t.js usage to Benchpress 8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* 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
8 years ago
Barış Soner Uşaklı ff88be91fa Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago