Reto Brunner
2ef8b37009
sqlite: add migrations support and introduce primary key
...
Add the ability to migrate our db in the upwards direction.
Use the facility to add primary keys to our messages table.
This should allow work like jumping to messages and the likes.
This also introduces the framework for rollback, without actually
hooking it up.
This should be easy enough to do when the need arises.
2023-06-24 14:50:39 +02:00
Reto Brunner
8aa5e33b1d
Fix semver for prerelease versions #4744
2023-06-24 14:35:41 +02:00
Reto Brunner
43a2b397a2
Add comments explaining behavior when echo-message is not available
2023-06-24 14:32:33 +02:00
Reto Brunner
c43a47afc1
Merge branch 'applePush'
2023-06-24 14:31:23 +02:00
Reto Brunner
14575c94cf
Merge branch 'frameworkInternals'
2023-06-24 14:28:48 +02:00
renovate[bot]
303f53fe72
chore(deps): update dependency @vue/test-utils to v2.4.0
2023-06-23 00:52:37 +00:00
renovate[bot]
06f1387f7b
chore(deps): update dependency webpack-hot-middleware to v2.25.4
2023-06-21 23:04:16 +00:00
Reto Brunner
c5326e8795
Sign in: use v-model
...
There's no need to mess with DOM elements, we can use the normal
v-model approach for both username and password
2023-06-18 15:20:08 +02:00
Reto Brunner
355c5d6fa4
v4.4.1
2023-06-13 08:24:37 +02:00
Kufat
7ac2a6fd77
Fix semver for prerelease versions
...
Noticed this breakage while trying to install a plugin on 4.4.1-rc2.
```
> semver.default.satisfies("4.4.1-rc2", ">=4.3.0")
false
> semver.default.satisfies("4.4.1-rc2", ">=4.3.0", {includePrerelease: true})
true
```
2023-06-01 08:03:07 -04:00
renovate[bot]
c4879fdbba
fix(deps): update dependency cheerio to v1.0.0-rc.12
2023-06-01 02:09:05 +00:00
Val Lorentz
4255c1cdec
Add comments explaining behavior when echo-message is not available
2023-05-30 22:09:39 +02:00
Reto Brunner
ae9d312b2a
v4.4.1-rc.2
2023-05-27 08:51:42 +02:00
renovate[bot]
f7c6ba5eb1
chore(deps): update dependency @types/lodash to v4.14.195
2023-05-26 23:27:55 +00:00
Reto Brunner
4d60d9c282
bump socket.io-parser from 4.2.1 to 4.2.3
2023-05-25 07:36:54 +02:00
dependabot[bot]
af49ef21ea
build(deps): bump socket.io-parser from 4.2.1 to 4.2.3
...
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser ) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases )
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3 )
---
updated-dependencies:
- dependency-name: socket.io-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 05:33:59 +00:00
Reto Brunner
7a9ddc01e1
settings: make missing_field msg descriptive
...
The "missing_fields" error triggers on any missing field (duh).
"Please enter a new password" is not a sensible string for that.
2023-05-23 08:24:20 +02:00
Reto Brunner
8f08cf3d0b
client: fix password change input
...
The TS rewrite dropped the form that was expected to be passed
as props.
That lead to the password change being borked, as the fields
were always set to "null".
We don't need a form, can just use refs here.
2023-05-23 08:18:20 +02:00
Reto Brunner
e05871fd2f
4.4.1-rc.1
...
Co-Authored-By: Max Leiter <maxwell.leiter@gmail.com>
2023-05-21 14:42:30 +02:00
Reto Brunner
ede48ab034
Merge branch 'previewFix'
2023-05-20 10:10:50 +02:00
Reto Brunner
4c6fa550aa
Merge branch 'nodeEOL'
2023-05-20 10:09:48 +02:00
Reto Brunner
9388960497
linkPreview: Pass channel prop
...
Else the update logic doesn't work and we don't show
the next / prev buttons
2023-05-15 09:38:09 +02:00
Reto Brunner
7bce779254
Remove unused code
2023-05-15 09:37:40 +02:00
Reto Brunner
a7b85db990
v4.4.0
2023-05-13 13:21:12 +02:00
Reto Brunner
f4ef11de3f
v4.4.0-rc.1
2023-05-06 10:39:34 +02:00
Reto Brunner
3a63484762
Merge branch 'changelog'
2023-05-06 10:36:58 +02:00
Reto Brunner
04b2bf036b
bump socket.io to 4.6.1
2023-05-04 23:39:07 +02:00
Max Leiter
3066f48a69
Merge pull request #4728 from thelounge/settingsFormProp
2023-05-01 11:43:07 -07:00
renovate[bot]
ed40c83a2b
Update dependency @types/chai to v4.3.5
2023-05-01 02:39:13 +00:00
Reto Brunner
f21f665384
Add changelog for 4.4.0
...
Co-Authored-by: Max Leiter <maxwell.leiter@gmail.com>
2023-04-29 13:52:18 +02:00
Reto Brunner
12d9ef34f0
Client/Settings: Remove bogus settings-form prop
...
As is this has no effect, other than looking weird in html:
<div settings-form="[object HTMLFormElement]"><div><h2>Native app</h2>
2023-04-29 11:52:34 +02:00
Reto Brunner
9ee1cf13a8
Publish to npm with provenance
2023-04-25 22:36:42 +02:00
Lenore
ba1a4206a6
fix motd display to match settings
2023-04-25 00:49:57 +02:00
Reto Brunner
59cf29ef4a
workflows: bump Windows + Mac node versions to 18
2023-04-23 21:48:39 +02:00
Reto Brunner
8e43d8083d
node: remove v14, add v20 to build matrix
...
EOL date reached.
2023-04-23 21:46:53 +02:00
Pavel Djundik
3cd0a75ac2
Publish to npm with provenance
...
Ref: https://github.blog/changelog/2023-04-19-npm-provenance-public-beta/
2023-04-23 12:11:08 +03:00
Reto Brunner
21d1dbaad6
Unbreak nick colors for existing themes
...
https://github.com/thelounge/thelounge/pull/4649 broke existing
themes by removing the colored-nicks class from chat.
Considering that we don't bump the major version, keep backwards
compatibility for now
2023-04-17 01:11:35 +02:00
Reto Brunner
90ad06a29a
Fix load of channels from user config
...
While the commits that caused the problem have been reverted,
this still adds test cases to it and make the loading more robust.
2023-04-08 13:46:13 +02:00
Val Lorentz
0c7cc85184
Fix load of channels from user config
...
Network.export() only writes the "type" key if it's a ChanType.QUERY;
so the config on disk has no "type".
This causes it to be undefined when loading, which breaks various other
checks, and then drops it the next time the config is saved.
2023-04-08 12:38:06 +02:00
Reto Brunner
3be805bd38
sqlite: Add rollback support
...
This enables db migrations to be undone, or "down migrated".
The down migration shouldn't be done automatically
as it could lead to severe data loss if that were done.
Hence, we still hard fail if we encounter a version lower than what
we have in the DB.
A CLI will be added in a later commit that allows users to explicitly
do that.
2023-03-31 11:34:26 +02:00
Reto Brunner
e25c296901
push: remove iOS warning
...
iOS 16.4 introduced webpush, we can get rid of the special case
in our settings panel.
2023-03-28 10:00:56 +02:00
Max Leiter
4babd17383
Merge pull request #4715 from progval/test-server-teardown
...
tests/server: Tear down test fixtures in the order they were setup
2023-03-20 13:54:06 -07:00
Max Leiter
b408843ff1
Merge pull request #4717 from thelounge/changelog
...
Inline logger into changelog script
2023-03-20 13:53:41 -07:00
Reto Brunner
0f3487c533
Inline logger into changelog script
...
We can't really import easily from our build without it being
brittle. TL isn't meant to be used as a library.
Instead, just inline the logger as it is trivial enough.
2023-03-19 23:49:42 +01:00
Reto Brunner
21ada132b1
v4.4.0-pre.2
2023-03-19 22:07:59 +01:00
Reto Brunner
2f162daee1
Revert "models/chan: don't force existence of constructor properties"
...
This reverts commit e31c95e32d
.
2023-03-19 21:58:14 +01:00
Reto Brunner
3ac9c36d95
Revert "user: don't force existence of constructor properties"
...
This reverts commit c3e3322a79
.
2023-03-19 21:58:14 +01:00
Reto Brunner
c30da27f95
Revert "network: don't force existence of constructor properties"
...
This reverts commit 429efb0c3c
.
2023-03-19 21:58:14 +01:00
Reto Brunner
30a3ba489a
4.4.0-pre.1
2023-03-19 13:43:01 +01:00
Reto Brunner
0dca3954f4
Add changelog entry for v4.4.0-pre.1
2023-03-19 13:35:26 +01:00