1539 Commits (3b125ba27e162f6a0439b12a1f9a10a4ece18add)

Author SHA1 Message Date
Barış Soner Uşaklı f4e2e6176e fix: chat mark read regression 2 years ago
Opliko b709ed9e63
feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
2 years ago
Barış Soner Uşaklı f359a76702 feat: #11814, dont check content len for admins 2 years ago
Barış Soner Uşaklı 907c5fa687 feat: closes #11843, refresh search after changing filters 2 years ago
Barış Soner Uşaklı f7ae8963ce https://github.com/NodeBB/NodeBB/issues/11818 2 years ago
Barış Soner Uşaklı 0dce4c46b5 https://github.com/NodeBB/NodeBB/issues/11818 2 years ago
Barış Soner Uşaklı 9b901783fa
Chat refactor (#11779)
* first part of chat refactor

remove per user chat zsets & store all mids in chat:room:<roomId>:mids
reverse uids in getUidsInRoom

* feat: create room button

public groups wip

* feat: public rooms

create chats:room zset
chat room deletion

* join socket.io room

* get rid of some calls that load all users in room

* dont load all users when loadRoom is called

* mange room users infinitescroll

dont load all members in api call

* IS for user list

ability to change groups field for public rooms
update groups field if group is renamed

* test: test fixes

* wip

* keep 150 messages

* fix extra awaits

fix dupe code in chat toggleReadState

* unread state for public rooms

* feat: faster push unread

* test: spec

* change base to harmony

* test: lint fixes

* fix language of chat with message

* add 2 methods for perf

messaging.getTeasers and getUsers(roomIds)
instead of loading one by one

* refactor: cleaner conditional

* test fix upgrade script fix

save timestamp of room creation in room object

* set progress.total

* don't check for guests/spiders

* public room unread fix

* add public unread counts

* mark read on send

* ignore instead of throwing

* doggy.gif

* fix: restore delete

* prevent entering chat rooms with

meta.enter

* fix self message causing mark unread

* ability to sort public rooms

* dont init sortable on mobile

* move chat-loaded class to core

* test: fix spec

* add missing keys

* use ajaxify

* refactor: store some refs

* fix: when user is deleted remove from public rooms as well

* feat: change how unread count is calculated

* get rid of cleaned content

get rid of mid

* add help text

* test: fix tests, add back mid

to prevent breaking change

* ability to search members of chat rooms

* remove

* derp

* perf: switch with  partial data

fix tests

* more fixes

if user leaves a group leave public rooms is he is no longer part of any of the groups that have access

fix the cache key used to get all public room ids

dont allow joining chat socket.io room if user is no longer part of group

* fix: lint

* fix: js error when trying to delete room after switching

* add isRoomPublic
2 years ago
Barış Soner Uşaklı edd8ca997f Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2152953cd add displayname to parent posts 2 years ago
Julian Lam 2d016af82f feat: simplified api module handler logic, content-type detection/parsing 2 years ago
Julian Lam 7415b16d2a refactor: use fetch() throughout, instead of jQuery .ajax() 2 years ago
Julian Lam 8a53182657 fix: fetch handler not passing back errors or success payloads 2 years ago
Julian Lam ed99ea20cb feat: allow FormData object to be passed in to the API module
Currently, only objects can be passed in, and it is automatically serialized into json and sent via jQuery .ajax().

This PR extends the module so a FormData object can be passed in, and updates the module so it uses Fetch API instead of jQuery.

At this time regular requests continue to use jQuery for backwards compatibility.

Use case: file uploads via API.
2 years ago
Barış Soner Uşaklı 8cc19fac6c add no replies class to navigator 2 years ago
Barış Soner Uşaklı 8b2b4fce37 add no replies class to navigator 2 years ago
Barış Soner Uşaklı 299f8864a2 hide nav if only one post, show after reply
hide after purge if only one post left
2 years ago
Barış Soner Uşaklı cbd98c1b28 fix: closes #11731, set postIndex on pagination 2 years ago
Barış Soner Uşaklı 304f9b6eef remove ?page when changing filters 2 years ago
Julian Lam da02361b13 feat: do not show the replies container in a post's footer if the only reply present is the next post 2 years ago
Barış Soner Uşaklı 8ca65b0c78
fix: dont send 200 status on admin upload errors (#11707)
* fix: dont send 200 status on admin upload errors

* test: update test

* bring back both checks for error

* test: add statusCode tests
2 years ago
Barış Soner Uşaklı 5adc418fef manage ip address dropdown 2 years ago
Barış Soner Uşaklı ee8cb3782b fix: closes #11673, topic search for harmony
harmony uses dropdown for search persona and older themes used a hidden input element in the navbar
2 years ago
Barış Soner Uşaklı c3afe44686
Acp redesign (#11639)
* acp sidebar

* gap in nav

* remove shadow

* label fixes

* color fixes

* feat: settings page wip

* feat: scroll spy 👓

move social into general, store social in meta.config like other settings
write upgrade script

* remove social

* rermove openapi routes

* cleanup, highlight selected nav item

* more cleanup

* advanced margin top

* derp

* match design

* bring back version alert

fix homepage js, since it moved to general settings

* remove unused tpls

these moved to general settings

* remove more  css

* offcanvas for mobile

fix search

* add timeout

* add new props

* manage categories

* small fixes

* category-edit

* feat category page fixes

* add title to settings pages

add user settings page

* small fixes

* some more settings pages

* fix: plugin page titles

* more settings pages

* more padding

* more pages, add acp paginator.tpl

so it doesn't change when active theme changes

* remove placeholder

* dashboard table

* fix: openapi

* fix: controller tests

* use fonts from core

* some small fixes

* fix rep page

* refactor: fix name of upgrade script

* create category modal

group edit

* group/groups pages

* admins mods

* privs

* uploads

* missing margin

* more acp pages

* more pages

* plugins/rewards/widgets

* wrap rewards

* fix widgets

* fix widget clone button

* fix group acp edit link

* update search dropdown

* remove display block from tbody

* use less css

* remove some derp links

* remove striped tables

* remove p tags from lang files

* update email settings

* Update api.tpl

* move tag-whitelist
2 years ago
Barış Soner Uşaklı cdeaef6b7c fix: #11619, fix selector 2 years ago
Barış Soner Uşaklı de2f76bbd3 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı d8d486a633 fix: closes #11613, closes #11614
don't add input listener on every send message
2 years ago
Barış Soner Uşaklı 5daaa5ea78 fix: edge case in category filter
selecting a category and then clicking on all categories was breaking selection icons
2 years ago
Barış Soner Uşaklı db9b807c86 feat: add lang string and drag fix 2 years ago
Barış Soner Uşaklı 4833a2b90c feat: center chat modal attr 2 years ago
Julian Lam e94c58becd Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı e1bb277fb4 feat: add helper to convert isostrings to localeString 2 years ago
Barış Soner Uşaklı 34730caf97 fix: selector for nav scroll
harmony doesn't have topic-header, they all have topic-main-buttons
2 years ago
Barış Soner Uşaklı e832d365ba refactor: removed parsing for taskbar
harmony doesnt have a taskbar
2 years ago
Barış Soner Uşaklı 0af2b800b3 fix: closes #11561, close dialogs on escape/backdrop click 2 years ago
Julian Lam 2b70063eec fix: #11545, wrong message shown to new users re: email confirmation 2 years ago
Barış Soner Uşaklı e3551d80d7 feat: allow tag editing from topic tools
closes #7536
closes #7465
closes #11538
2 years ago
Julian Lam 5feb509b16 fix: don't crash if taskbar.tasklist is not defined yet 2 years ago
Julian Lam 70f4d7f099 fix: topic thumbnail removal error
Relaxed DOM selector to accommodate changed tpl
2 years ago
Julian Lam dd8719a10e fix: upload modal error handler
The underlying API call was updated to v3 style (with standard status/response object in response body), so the existing code always falls back to the default error instead of showing the more specific error sent back by the backend.

Also, the fallback wasn't internationalized, so that's done to.
2 years ago
Barış Soner Uşaklı 2235f6c280 fix: #11451 , use bookmark from localstorage for guests 2 years ago
Barış Soner Uşaklı 645ebec8fa feat: allow multiple topic selects in topic-list
chore: up persona
2 years ago
Barış Soner Uşaklı 29872b4326 make border color important 2 years ago
Barış Soner Uşaklı 2615192fc0 fix: topic labels on topics_list 2 years ago
Barış Soner Uşaklı 28ed6c923c update buildCategoryLabel
no bg image in labels dont put a i tag if no icon
2 years ago
Barış Soner Uşaklı 45addcf5ec refactor: simple load new posts 2 years ago
Barış Soner Uşaklı 69f24ed92a feat: add support for selected topic count 2 years ago
Barış Soner Uşaklı a83734fb2b fix: dont show search input if user doesn't have tag search priv 2 years ago
Barış Soner Uşaklı 661a6e0473 https://github.com/NodeBB/NodeBB/issues/11329 2 years ago
Barış Soner Uşaklı 77ddfc642e feat: closes #11139, move sort settings to user settings page
don't change user settings when user changes sort inside topic/category
2 years ago
Julian Lam 2614b95c40 fix: #11381, bug where the call to `action:settings.sorted-list.itemLoaded` did not properly pass in the correct element 2 years ago