Max Leiter
c2e7390127
Merge pull request #4685 from thelounge/networkProps
...
network: don't force existence of constructor properties
2023-02-26 17:23:23 -08:00
Max Leiter
d10a59395c
Merge pull request #4684 from thelounge/userProps
...
user: don't force existence of constructor properties
2023-02-26 17:22:31 -08:00
Max Leiter
8fc696620f
Merge pull request #4683 from thelounge/chanProps
...
models/chan: don't force existence of constructor properties
2023-02-26 17:22:06 -08:00
Max Leiter
c6a202d6ab
Merge pull request #4686 from thelounge/decoupleServer
...
Decouple server
2023-02-26 17:20:20 -08:00
Max Leiter
7c9ed14909
Merge pull request #4695 from maxpoulin64/fix/oidentd-crash-race-condition
...
Don't crash on oidentd socket race condition
2023-02-25 13:44:37 -08:00
Reto Brunner
bdc1f23107
fix formatting
2023-02-18 11:46:31 +01:00
Reto Brunner
e9a09f5447
Add id to error log
2023-02-18 11:35:52 +01:00
Reto Brunner
d93cd88dd5
Fix uploader mount/unmount lifecycle #4691
2023-02-18 11:16:30 +01:00
Pavel Djundik
2f04150461
Fix git commit not being available in dist build
2023-02-15 12:03:08 +02:00
Max Leiter
c816e4053e
Merge pull request #4692 from thelounge/irc-framework
...
bump irc-framework to 4.13.1
2023-02-13 20:56:38 -08:00
Max Leiter
4cff2ccabe
Link to PR in log.warn
2023-02-13 20:51:27 -08:00
Max Leiter
26b7fbf2c0
Apply suggestions from code review
...
Co-authored-by: Mina Galić <me+github@igalic.co>
2023-02-13 20:50:16 -08:00
Maxime Poulin
243cb10e2a
Don't crash on oidentd socket race condition
2023-02-08 22:05:22 -05:00
dependabot[bot]
7304acd8e0
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 21:21:55 +00:00
Reto Brunner
511209a100
bump irc-framework to 4.13.1
2023-02-06 22:20:40 +01:00
Maxime Poulin
2ce374fe85
Fix uploader mount/unmount lifecycle
...
Currently, in `ChatInput.vue` we call `upload.abort()` which removes the event listeners, which are never added back. This effectively permanently disable uploads if the user navigates away to Settings or any other non-chat pages, and back.
Moves the binding to `mounted()` so that they're properly rebound when a chat window is in view, and also adds an `unmounted()` for clarity.
This should also fix an edge case if the page opens up on a non-chat page and there was never a ChatInput to unbind it, such as login page or add network pages.
2023-02-05 22:32:12 -05:00
Max Leiter
00366967ae
Merge pull request #4690 from maxpoulin64/fix-morning-colors
...
Fix Morning theme nick colors
2023-02-05 14:01:49 -08:00
Maxime Poulin
f2c59c23e2
Fix Morning theme nick colors
...
PR #4649 introduced a regression on the Morning theme as the `#chat.colored-nicks` CSS selector was removed from Default but not Morning. The result is that Morning no longer had nick colors.
2023-02-05 03:22:43 -05:00
renovate[bot]
90d17cacc1
chore(deps): update dependency sinon to v13.0.2
2023-02-01 02:17:22 +00:00
Reto Brunner
12c03a868d
base tsconfig: remove files section
...
All files are specified in the individual sub projects
2023-01-30 09:14:40 +01:00
Reto Brunner
b7540b5827
Move condensedTypes to shared/
...
This decouples the rest of the server from the client
2023-01-30 09:14:40 +01:00
Reto Brunner
6f13735a7f
eslint: add shared/
2023-01-30 09:14:40 +01:00
Reto Brunner
60bb561e49
Extract tests to shared/
2023-01-30 09:14:40 +01:00
Reto Brunner
e305e23c43
client: use the versions in shared/ where applicable
2023-01-30 09:14:40 +01:00
Reto Brunner
9d34955836
extract cleanIrcMessage from client to shared
2023-01-30 09:14:40 +01:00
Reto Brunner
a8149c0f1a
Extract linkify to shared directory
...
This is the first step to sever any dependency of the server on
the client
2023-01-30 09:14:40 +01:00
Reto Brunner
21d1eea6b8
tsconfig: Add shared reference
2023-01-30 09:14:40 +01:00
Reto Brunner
e1ae79cb9c
server/tsconfig: remove redundant options
2023-01-30 09:14:40 +01:00
Reto Brunner
429efb0c3c
network: don't force existence of constructor properties
2023-01-30 08:52:30 +01:00
Reto Brunner
c3e3322a79
user: don't force existence of constructor properties
2023-01-30 01:45:58 +01:00
Reto Brunner
e31c95e32d
models/chan: don't force existence of constructor properties
2023-01-30 00:29:09 +01:00
William Goodspeed
f785acb07d
Fix misleading LDAP filiter in default config
...
The default filter provided in config files is invalid. This may mislead people. Confirm to issue #4620 .
2023-01-27 20:02:57 +08:00
renovate[bot]
bde5c3d443
fix(deps): update dependency ua-parser-js to v1.0.33 [security]
2023-01-24 17:40:19 +00:00
Reto Brunner
375164ca88
Merge branch 'storageCleanup'
2023-01-22 15:23:56 +01:00
Reto Brunner
7f3ac62e0d
Merge branch 'searchFixTakeTwo'
2023-01-22 15:22:32 +01:00
dependabot[bot]
ce3ad56ced
build(deps): bump json5 from 2.2.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 15:13:25 +01:00
Reto Brunner
efd3b64564
caniuse-lite: update db
2023-01-22 15:13:25 +01:00
renovate[bot]
6b23b87063
chore(deps): update dependency @vue/test-utils to v2.2.7
2023-01-22 15:13:25 +01:00
renovate[bot]
502fb7a705
chore(deps): update dependency @types/ws to v8.5.4
2023-01-22 15:13:24 +01:00
renovate[bot]
c854d27d3d
chore(deps): update dependency sqlite3 to v5.1.4
2023-01-22 15:13:24 +01:00
Max Leiter
2803018c5a
Merge pull request #4669 from thelounge/collapseAway
...
allow away and back to be collapsed
2023-01-20 15:30:53 -08:00
Reto Brunner
0ebc3a574c
search: ignore searchResults if it isn't the active query
...
Prior to this, the search is still racy but one tends to notice
this only when the DB is large or network is involved.
The user can initiate a search, get bored, navigate to another chan
issue a different search.
Now however, the results of the first search come back in and
hilarity ensues as we are now confused with the state.
To avoid this, keep track of the last search done and any result
that comes in that isn't equal to the active query is garbage and
can be dropped.
2023-01-08 11:41:09 +01:00
Reto Brunner
958a948456
sqlite: Remove client from sqlitestorage
...
The only reason we accepted a client was that so we have access
to the next message id when we need it.
So let's accept an id provider function instead.
2022-12-30 16:52:04 +01:00
Reto Brunner
52b8a2a78e
textStorage: rip out client instance
...
We don't need the client, so there's no need to accept it.
2022-12-30 16:42:48 +01:00
Reto Brunner
661d5cb5b0
messagestorage: remove implementation details from interface
...
The interface should not contain things that aren't the API of the
storage interface.
Further, rename ISqliteMessageStorage to SearchableMessageStorage,
as that's also an implementation detail.
We'll never have a second sqlite backend, so the name seems
strange.
2022-12-30 16:42:48 +01:00
Reto Brunner
e597e75847
allow away and back to be collapsed
...
This means we also apply the collapsing to normal queries,
which might also collapse other things like joins / quits
which may be undesired by some
Fixes: https://github.com/thelounge/thelounge/issues/4583
2022-12-30 13:35:38 +01:00
aab12345
8b1a4f72fa
Add password param to /join docs
2022-12-29 13:12:15 +01:00
Pavel Djundik
502780c5a3
Fix sidebar swipe flicker after letting go
2022-12-23 10:50:20 +02:00
Reto
073a38ef1e
Fix previous-source calculation ( #4656 )
...
CondensedMessage is a proxy object, outside of the templates
we need to unwrap it manually
2022-12-17 13:59:07 -08:00
Reto Brunner
c67df36a29
update dependency @types/lodash to v4.14.191
2022-12-04 12:58:15 +01:00