Barış Soner Uşaklı
509faa5ecc
chore: remove log
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ı
a12a9bab7a
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
bf114c1106
fix : #11786 fix selector for upgradable plugins
2 years ago
Barış Soner Uşaklı
0a7f52475e
fix member IS
2 years ago
Barış Soner Uşaklı
5a42d37e0f
fix reconnect logic
2 years ago
Barış Soner Uşaklı
64d3018286
fix : #11773 , fix create token button
2 years ago
Barış Soner Uşaklı
8cc19fac6c
add no replies class to navigator
2 years ago
Barış Soner Uşaklı
aefef763db
fix: use btn instead of icon
2 years ago
Barış Soner Uşaklı
daa5ac85e9
refactor: show both emails in user list
...
if user has a confirmed email and a pending email change show both in the acp
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ı
cfedd0877f
fix: pinned topic ordering if parent element has non topic elements
...
for example
<ul component="category" class="topic-list" itemscope itemtype="http://www.schema.org/ItemList " data-nextstart="{nextStart}" data-set="{set}">
<meta itemprop="itemListOrder" content="descending">
{{{each topics}}}
<!-- IMPORT partials/topics_list_item.tpl -->
{{{ end }}}
</ul>
2 years ago
Barış Soner Uşaklı
281078f5ce
fix: delete events not working
2 years ago
Barış Soner Uşaklı
b7a4ce6c1e
less margin on copy code btn
2 years ago
Barış Soner Uşaklı
556fd65d51
feat: custom skins panel in acp
2 years ago
Barış Soner Uşaklı
9198a95173
add again
2 years ago
Barış Soner Uşaklı
f6059726e8
remove dupe code
2 years ago
Barış Soner Uşaklı
304f9b6eef
remove ?page when changing filters
2 years ago
Barış Soner Uşaklı
dcc2bb1085
lint: fix unused
2 years ago
Barış Soner Uşaklı
f2c72bc7a3
remove markup from js
...
so themes can use different styles
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ı
06f85d6fff
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
a757716ddd
fix: closes #11708 , fix quick reply check
2 years ago
Barış Soner Uşaklı
2c89d78494
fix: error toast on lost connection
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
Julian Lam
1d1639d46f
fix: improper neutralization of user input in image wrapping code
2 years ago
Barış Soner Uşaklı
de68f7493d
feat: add new tab to define bs variables
...
to override bootstrap vars.
dont crash if scss fails to compile, just use empty css and log the error, this allows accessing the acp if client scss has errors
2 years ago
Barış Soner Uşaklı
2edfe0ef3e
feat: bring back noskin option
...
if forum sets a default skin there was no way for the user to go back to the no skin version
2 years ago
Julian Lam
c5cd76e798
fix: don't update edit data if edited timestamp is not available
2 years ago
Barış Soner Uşaklı
450918f93d
admin-mods
2 years ago
Barış Soner Uşaklı
5adc418fef
manage ip address dropdown
2 years ago
Barış Soner Uşaklı
8bd7f18c76
add more padding if code block has scrollbar
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ı
e0f25b3633
fix order plugins
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ı
9f3bdf75d0
fix: app.newTopic usage
2 years ago
Barış Soner Uşaklı
05460d8ecc
fix: rtl fixes for code and long text
...
closes #11643 , closes #11655
2 years ago
Barış Soner Uşaklı
2cf865e852
refactor: use new params
2 years ago
Barış Soner Uşaklı
1974abeb98
fix: topic count in tools after purge closes #11651
2 years ago
Barış Soner Uşaklı
325c1955b8
feat: allow more params to app.newTopic/newReply
...
closes #11649
2 years ago
Barış Soner Uşaklı
1c3bb99476
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
6aae88d5dd
use bs5 classes for toggle
2 years ago
Barış Soner Uşaklı
99aaa9f141
feat: update progress bar more frequently
2 years ago
Barış Soner Uşaklı
8c9ab01f3f
feat: closes #11630
...
install & launch forum after entering admin user details in one step
2 years ago
Barış Soner Uşaklı
62ed6f3d08
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
82e26829c5
fix: closes #11620 , fix copy code when line numbers are enabled
2 years ago
Barış Soner Uşaklı
e0300ab7b4
fix: add loadingMore flag to chat infinite load
2 years ago
Barış Soner Uşaklı
cdeaef6b7c
fix : #11619 , fix selector
2 years ago
Barış Soner Uşaklı
b1fbc1945c
refactor: use app.parseAndTranslate
2 years ago
Barış Soner Uşaklı
c52916de8e
fix: text area height calculation in chats
2 years ago
Barış Soner Uşaklı
469aa5511f
fix: textarea on error
2 years ago
Barış Soner Uşaklı
c77b622453
fix: textarea on error
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ı
05b58c7047
refactor: remove unused require
2 years ago
Barış Soner Uşaklı
ca2be0e869
refactor: remove log
2 years ago
Barış Soner Uşaklı
8f6a68ca09
fix: closes #11612
...
fix selectors
2 years ago
Barış Soner Uşaklı
3cef2535cc
fix: closes #11612
...
fix selectors
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ı
51bf5e9512
chore: up markdown
2 years ago
Barış Soner Uşaklı
7f5ec0ef90
chore: up markdown
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
Barış Soner Uşaklı
51096ad234
poc: use csrf_token in ws handshake ( #11573 )
2 years ago
Barış Soner Uşaklı
63b859f053
poc: use csrf_token in ws handshake ( #11573 )
2 years ago
Barış Soner Uşaklı
efea33d906
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
d55cd464a0
fix : #11601 , dont trigger edit if chat input has text
...
pressing escape will cancel edit
2 years ago
Julian Lam
4f524e9f94
feat: token rolling API for admins
...
+ tests
2 years ago
Julian Lam
ce23caf7e6
feat: token editing and deletion
2 years ago
Julian Lam
e4888dea17
feat: api token migration, new ACP tokens list, token creation
2 years ago
Barış Soner Uşaklı
e0149462b3
refactor: remove return
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ı
f974c230ef
fix: chat ip button not doing anything if clicked outside of icon
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ı
101fe81d42
feat: add app.newReply
...
like app.newTopic
2 years ago
Barış Soner Uşaklı
0af2b800b3
fix: closes #11561 , close dialogs on escape/backdrop click
2 years ago
Barış Soner Uşaklı
24e0e5024d
fix: show edit indicator after an edit without reloading the page
2 years ago
Julian Lam
36895421ba
refactor: topic mark read/unread routes
2 years ago
Julian Lam
f2082d7de8
refactor: started work on porting socket methods to write API [breaking]
...
The following socket calls have been removed:
* `posts.getRawPost`
* `posts.getPostSummaryByPid`
Two new Write API routes have been added:
- `GET /api/v3/posts/:pid/raw`
- `GET /api/v3/posts/:pid/summary`
2 years ago
Julian Lam
2b70063eec
fix : #11545 , wrong message shown to new users re: email confirmation
2 years ago
Barış Soner Uşaklı
d0a15e9ec8
fix: closes #11539
2 years ago
Barış Soner Uşaklı
156b8e7721
fix: add check for no tids
2 years ago
Barış Soner Uşaklı
e3551d80d7
feat: allow tag editing from topic tools
...
closes #7536
closes #7465
closes #11538
2 years ago
Barış Soner Uşaklı
4aa87366f9
feat: #11537 , copy ip on click
2 years ago
Barış Soner Uşaklı
eb0c77fd69
feat: #7096 , improve chat editing
...
use a new template for editing chats,
remove the data-mid on the chat inputEl
2 years ago
Barış Soner Uşaklı
83569debe8
Merge branch 'master' into develop
2 years ago
Barış Soner Uşaklı
9484ddc36f
fix: use query param sort over user setting if it's set
...
regression from 77ddfc642e
2 years ago
Barış Soner Uşaklı
073f4d37dc
lint: fix comma
2 years ago
Barış Soner Uşaklı
619e910f69
fix: only add copy button to multiline codeblocks
2 years ago
Barış Soner Uşaklı
0a292fc1ae
feat: closes #11428 , add a copy code button to code blocks
2 years ago
Barış Soner Uşaklı
84a78c2d5f
feat: move topic thumb to template
...
use a single modal to show all thumbs and allow switching
2 years ago
Julian Lam
04219c4ccb
feat: open topic thumbs on click in a bootbox dialog instead of opening in same page; complements nodebb/nodebb-theme-harmony#12
2 years ago
Julian Lam
c3ebda22c0
fix: go back to post queue after deleting an account in post queue ( #11513 )
...
It makes little sense to refresh the page as the content no longer exists, so just go back to the post queue list.
2 years ago
Barış Soner Uşaklı
6b51dd5a2f
feat: closes #11424 , add category selector to fork modal ( #11491 )
...
select the current category on open
2 years ago