3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00
Commit Graph

5061 Commits

Author SHA1 Message Date
Shivaram Lingamneni
35128bfc23 use new aligned atomic types everywhere
See 69448b13a1 / #1969; the compiler can now ensure that a uint64
intended for atomic access is always aligned to a 64-bit boundary.
Convert atomic operations on uint32s and pointers as well.
2022-08-10 02:47:39 -04:00
Shivaram Lingamneni
507dc2d838
Merge pull request #1987 from slingamn/go_upgrade
upgrade go to 1.19
2022-08-03 18:16:33 -07:00
Shivaram Lingamneni
a99c8a42f9 remove utils.ConfigStore in favor of atomic.Pointer[T] 2022-08-03 00:59:00 -04:00
Shivaram Lingamneni
de1be675f5 upgrade go to 1.19 2022-08-03 00:56:19 -04:00
Shivaram Lingamneni
5b72cd8622 apply go1.19 gofmt 2022-08-03 00:54:50 -04:00
Shivaram Lingamneni
096c12fb52
Merge pull request #1981 from slingamn/issue1980
fix #1980
2022-07-14 19:07:59 -07:00
Shivaram Lingamneni
1d10eb934a fix #1980
Sanitize ::1 to 0::1 in WHOX output
2022-07-14 21:53:36 -04:00
Shivaram Lingamneni
26e0dae11d
Merge pull request #1977 from slingamn/deps
upgrade dependencies for v2.11 release cycle
2022-06-17 07:50:54 -07:00
Shivaram Lingamneni
321ff109b1 upgrade x/crypto 2022-06-17 10:47:28 -04:00
Shivaram Lingamneni
86f124e938 upgrade buntdb 2022-06-17 10:46:22 -04:00
Shivaram Lingamneni
2138847984
Merge pull request #1976 from slingamn/parallelize_testing
parallelize tests via the native go mechanism
2022-06-16 22:03:38 -07:00
Shivaram Lingamneni
f032fda48d parallelize tests via the native go mechanism 2022-06-16 14:56:28 -04:00
Shivaram Lingamneni
2cace0b5a2
Merge pull request #1973 from progval/crowdin-url
Update Crowdin URL
2022-06-11 18:46:53 -07:00
Valentin Lorentz
4208e11571 Update Crowdin URL 2022-06-11 22:33:47 +02:00
Shivaram Lingamneni
c0e7aac862
Merge pull request #1970 from ergochat/devel+issue1969_alignment
fix #1969
2022-06-10 07:53:04 -07:00
Shivaram Lingamneni
69448b13a1 fix #1969
On a 32-bit architecture, 64-bit atomic loads and stores must be aligned to a
64-bit boundary. Since the (mysql.MySQL) struct is directly included in the
Server struct, it is impossible to guarantee this via the standard technique
of putting the 64-bit value at the beginning of the struct definition
(since the point at which it is included in the parent struct may cross a
64-bit boundary).

This optimization is probably pointless anyway, adding an additional
indirection won't make a difference.
2022-06-10 10:35:56 -04:00
Shivaram Lingamneni
810ec75f95 bump irctest 2022-05-29 15:47:34 -04:00
Shivaram Lingamneni
86f7668c68 set up new development version 2022-05-29 15:46:36 -04:00
Shivaram Lingamneni
e8cd87d8fd
Merge pull request #1967 from slingamn/release
bump version and changelog for v2.10.0
2022-05-29 12:14:45 -07:00
Shivaram Lingamneni
101fd53d6d bump version and changelog for v2.10.0 2022-05-29 02:24:18 -04:00
Shivaram Lingamneni
acd95b9924 bump version and changelog for v2.10.0-rc2 2022-05-23 15:16:51 -04:00
Shivaram Lingamneni
40d70b8aeb
Merge pull request #1962 from slingamn/readmarker_again
only send MARKREAD to sessions with the read-marker cap
2022-05-20 02:03:31 -04:00
Shivaram Lingamneni
ef088373a8 only send MARKREAD to sessions with the read-marker cap 2022-05-20 01:58:14 -04:00
Shivaram Lingamneni
ae55a4c660
Merge pull request #1961 from slingamn/readmarker
fix critical bugs in draft/read-marker
2022-05-20 01:51:41 -04:00
Shivaram Lingamneni
2b86660e5c fix read markers not being reloaded on restart 2022-05-20 01:46:41 -04:00
Shivaram Lingamneni
c3d4be45f1 fix timestamp syntax in MARKREAD 2022-05-20 01:46:41 -04:00
Shivaram Lingamneni
67b2f4ccd2
README.md: fix docker repository link 2022-05-16 11:53:33 -04:00
Shivaram Lingamneni
104d0321e8 bump version and changelog for v2.10.0-rc1 2022-05-16 01:25:37 -04:00
Shivaram Lingamneni
14d1614bba
Merge pull request #1956 from slingamn/changelog.2
changelog updates for v2.10.0-rc1
2022-05-16 01:24:23 -04:00
Shivaram Lingamneni
e48c3fa687
Merge pull request #1957 from slingamn/saregister_responses
fix #1905
2022-05-16 00:38:13 -04:00
16b8d9090b
Documentation: add Python3 syntax highlighting, +i/AMODE documentation and add FAQ on AMODE privileges (#1959)
* MANUAL.md: correct shebangs

* docs/{USERGUIDE,MANUAL}.md: mention amode +v joining through +i

* MANUAL.md: add a FAQ on special privileges of AMODEs

* USERGUIDE.md: add missing channel name

* MANUAL.md: mention that special privileges are cumulative

* Revert "MANUAL.md: correct shebangs"

This reverts commit 75a77c5537.

* MANUAL.md: restore syntax highlighting for python3
2022-05-15 11:07:49 -04:00
Shivaram Lingamneni
5e5cc3040b
Update CHANGELOG.md
Co-authored-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
2022-05-14 21:31:01 -04:00
Shivaram Lingamneni
bcaed1aff1 update documentation of moderation techniques
Fixes #1697
2022-05-13 17:30:47 -04:00
Shivaram Lingamneni
7192df4592 update documentation of operator capabilities 2022-05-13 17:18:42 -04:00
Shivaram Lingamneni
da07c0072c bump irctest to latest 2022-05-13 16:42:30 -04:00
Shivaram Lingamneni
6f9e07d2a2 fix #1905
NS SAREGISTER should send machine-readable responses. A simple approach:
check if the account-registration cap is enabled, and if so, send the
the same responses that would be sent by the REGISTER command.
2022-05-13 15:35:11 -04:00
Shivaram Lingamneni
52e0f8e7e9 changelog updates for v2.10.0-rc1 2022-05-13 14:53:39 -04:00
Shivaram Lingamneni
d6d5bbe27b
Merge pull request #1955 from slingamn/history_privs
exempt operators from history cutoffs
2022-05-13 02:04:56 -04:00
Shivaram Lingamneni
737697d1d4 exempt operators from history cutoffs
See #1593; this enables a client-side implementation of bulk deletion
2022-05-12 16:43:11 -04:00
Shivaram Lingamneni
dd75eb1084 fix incorrect HOSTSERV HELP SET
Reported by @Mikaela
2022-05-06 14:48:01 -04:00
Shivaram Lingamneni
a13235880c
Merge pull request #1954 from slingamn/accept.1
fix #1688
2022-05-06 11:40:17 -04:00
Shivaram Lingamneni
87789676c0 add tests covering (*AcceptManager).Unaccept 2022-05-05 22:43:33 -04:00
Shivaram Lingamneni
c454c45d6a
Merge pull request #1953 from slingamn/issue1886_unregistered.1
fix #1886
2022-05-05 22:40:50 -04:00
Shivaram Lingamneni
4948b48b8f
Merge pull request #1952 from slingamn/saverify.1
add SAVERIFY command
2022-05-05 22:40:07 -04:00
Shivaram Lingamneni
c5579a6a34 fix #1688
* Add ACCEPT-tracking functionality (authorizing users to send DMs
  despite +R or other applicable restrictions)
* Sending a DM automatically accepts the recipient
* Add explicit ACCEPT command
2022-05-05 22:34:43 -04:00
Shivaram Lingamneni
b11dc1c84c fix #1886
Add more clarify in NS INFO and SAREGISTER about unregistered nicknames
2022-05-05 01:04:28 -04:00
Shivaram Lingamneni
78548aa9df add SAVERIFY command
Fixes #1924
2022-05-04 16:41:01 -04:00
Shivaram Lingamneni
03092769e7 bump irctest 2022-05-04 14:59:10 -04:00
Shivaram Lingamneni
d5814c10ab
Merge pull request #1949 from slingamn/generic_config.2
genericize atomic config changes
2022-05-04 01:30:52 -04:00
Shivaram Lingamneni
34ad3a2dc1 ConfigStore: clarify intended use 2022-05-03 23:27:24 -04:00