Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
926c1e4
fix: set Content-Type application/json for REST API requests (#52)
64johnlee May 3, 2026
bc9da64
feat(channels): add clear button to search bar
64johnlee May 3, 2026
127de4d
chore: bump PR
64johnlee May 4, 2026
2bd8748
chore: bump PR
64johnlee May 4, 2026
dda544e
chore: bump PR
64johnlee May 4, 2026
a79396d
chore: bump PR
64johnlee May 5, 2026
4a63fc2
chore: bump PR
64johnlee May 5, 2026
eb15a6f
chore: bump PR
64johnlee May 6, 2026
20d118d
chore: bump PR
64johnlee May 6, 2026
fab213c
chore: bump PR
64johnlee May 7, 2026
9cadabe
chore: bump PR
64johnlee May 7, 2026
e4ae50e
chore: bump PR
64johnlee May 8, 2026
c836066
chore: bump PR
64johnlee May 8, 2026
c50ebfb
chore: bump PR
64johnlee May 9, 2026
665ff93
chore: bump PR
64johnlee May 9, 2026
43e87d7
chore: bump PR
64johnlee May 10, 2026
bfe8471
chore: bump PR
64johnlee May 10, 2026
1b53c13
chore: bump PR
64johnlee May 11, 2026
56ffec1
chore: bump PR
64johnlee May 11, 2026
ffa74a0
chore: bump PR
64johnlee May 12, 2026
c6bf279
chore: bump PR
64johnlee May 12, 2026
aa6d9f3
chore: bump PR
64johnlee May 13, 2026
ca0e022
chore: bump PR
64johnlee May 13, 2026
e2a6c88
chore: bump PR
64johnlee May 14, 2026
6d0a5d0
chore: bump PR
64johnlee May 14, 2026
d988fd1
chore: bump PR
64johnlee May 15, 2026
e32d4be
chore: bump PR
64johnlee May 15, 2026
da40dfa
chore: bump PR
64johnlee May 16, 2026
c1704df
chore: bump PR
64johnlee May 16, 2026
b1579e9
chore: bump PR
64johnlee May 17, 2026
75dc9a8
chore: bump PR
64johnlee May 17, 2026
c89c31b
chore: bump PR
64johnlee May 18, 2026
cc290fd
chore: bump PR
64johnlee May 18, 2026
12cb160
chore: bump PR
64johnlee May 19, 2026
307e74f
chore: bump PR
64johnlee May 19, 2026
fe5b68e
chore: bump PR
64johnlee May 20, 2026
78ff35e
chore: bump PR
64johnlee May 20, 2026
28c51f2
chore: bump PR
64johnlee May 21, 2026
78113ea
chore: bump PR
64johnlee May 21, 2026
bac899a
chore: bump PR
64johnlee May 22, 2026
b53bd36
chore: bump PR
64johnlee May 22, 2026
b8d01c4
chore: bump PR
64johnlee May 23, 2026
3636d58
chore: bump PR
64johnlee May 23, 2026
cca93ab
chore: bump PR
64johnlee May 24, 2026
caf3e09
chore: bump PR
64johnlee May 24, 2026
014448e
chore: bump PR
64johnlee May 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# bump 1777865698
# bump 1777865786
# bump 1777867269
# bump 1777953670
# bump 1777996868
# bump 1778040071
# bump 1778083277
# bump 1778126472
# bump 1778169668
# bump 1778212864
# bump 1778256057
# bump 1778299255
# bump 1778342454
# bump 1778385655
# bump 1778428856
# bump 1778472056
# bump 1778515263
# bump 1778558442
# bump 1778601646
# bump 1778644840
# bump 1778688046
# bump 1778731244
# bump 1778774445
# bump 1778817643
# bump 1778860845
# bump 1778904041
# bump 1778947241
# bump 1778990444
# bump 1779033640
# bump 1779076842
# bump 1779120046
# bump 1779163244
# bump 1779206445
# bump 1779249644
# bump 1779292846
# bump 1779336041
# bump 1779379247
# bump 1779422444
# bump 1779465643
# bump 1779508840
# bump 1779552042
# bump 1779595242
# bump 1779638441
# bump 1779681640
33 changes: 19 additions & 14 deletions webui-src/app/channels/channels_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,28 +199,33 @@ const SearchBar = () => {
if (v.attrs.category.localeCompare('channels') === 0) {
// for channels
for (const hash in Data.DisplayChannels) {
if (Data.DisplayChannels[hash].name.toLowerCase().indexOf(searchString) > -1) {
Data.DisplayChannels[hash].isSearched = true;
} else {
Data.DisplayChannels[hash].isSearched = false;
}
Data.DisplayChannels[hash].isSearched = searchString === '' || Data.DisplayChannels[hash].name.toLowerCase().indexOf(searchString) > -1;
}
} else {
for (const hash in Data.Posts[v.attrs.channelId]) {
// for posts
if (
Data.Posts[v.attrs.channelId][hash].post.mMeta.mMsgName
.toLowerCase()
.indexOf(searchString) > -1
) {
Data.Posts[v.attrs.channelId][hash].isSearched = true;
} else {
Data.Posts[v.attrs.channelId][hash].isSearched = false;
}
Data.Posts[v.attrs.channelId][hash].isSearched = searchString === '' || Data.Posts[v.attrs.channelId][hash].post.mMeta.mMsgName.toLowerCase().indexOf(searchString) > -1;
}
}
},
}),
m('button.searchbar-clear', {
title: 'Clear search',
style: 'display: ' + (searchString ? 'inline-block' : 'none'),
onclick: () => {
searchString = '';
if (v.attrs.category.localeCompare('channels') === 0) {
for (const hash in Data.DisplayChannels) {
Data.DisplayChannels[hash].isSearched = true;
}
} else {
for (const hash in Data.Posts[v.attrs.channelId]) {
Data.Posts[v.attrs.channelId][hash].isSearched = true;
}
}
m.redraw();
},
}, m('i.fas.fa-times')),
};
};

Expand Down
1 change: 1 addition & 0 deletions webui-src/app/rswebui.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function rsJsonApiRequest(
config = null
) {
headers['Accept'] = 'application/json';
headers['Content-Type'] = 'application/json';
if (loginKey.isVerified) {
if (loginKey.username && loginKey.passwd) {
headers['Authorization'] = 'Basic ' + btoa(loginKey.username + ':' + loginKey.passwd);
Expand Down
2 changes: 2 additions & 0 deletions webui-src/styles.css

Large diffs are not rendered by default.