Shivaram Lingamneni
7ce0636276
refactor of channel persistence to use UUIDs
1 anno fa
Shivaram Lingamneni
c4e376c8bb
fix spurious error logline in schema change
2 anni fa
Shivaram Lingamneni
8c556fe8c5
schema change to remove ReplayJoinsNever
See #1676
2 anni fa
Shivaram Lingamneni
8b2f6de3e0
Add email-based password reset (#1779)
* Add email-based password reset
Fixes #734
* rename SETPASS to RESETPASS
* review fixes
* abuse mitigations
* SENDPASS and RESETPASS should both touch the client login throttle
* Produce a logline and a sno on SENDPASS (since it actually sends an email)
* don't re-retrieve the settings value
* add email confirmation for NS SET EMAIL
* smtp: if require-tls is disabled, don't validate server cert
* review fixes
* remove cooldown for NS SET EMAIL
If you accidentally set the wrong address, the cooldown would prevent you
from fixing your mistake. Since we touch the registration throttle anyway,
this shouldn't present more of an abuse concern than registration itself.
2 anni fa
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3 anni fa
Shivaram Lingamneni
4a48e52518
fix #1490
Track channel join times, use them to optionally enforce history access
restrictions
3 anni fa
Shivaram Lingamneni
c0bc485840
schema change for #1345
Convert the flat list of channels for always-on clients
to a map from channel names to channel-user modes.
3 anni fa
Shivaram Lingamneni
4296ff02a4
schema change for #1274
3 anni fa
Shivaram Lingamneni
1f6afa31d6
fix #1274
Enhancements to NS SUSPEND, including stored metadata and the ability
to list suspensions
3 anni fa
Shivaram Lingamneni
dc456bd6a4
refactor schema versions to be ints, not strings
3 anni fa
Shivaram Lingamneni
cf5a426f90
fix #1346
3 anni fa
Shivaram Lingamneni
af8ed62de8
schema change for #1330
3 anni fa
Shivaram Lingamneni
898f8aad07
add a schema change
3 anni fa
Shivaram Lingamneni
7a6413ea2c
first draft of atheme migration code
3 anni fa
Shivaram Lingamneni
32ee9440c8
fix #1027
4 anni fa
Shivaram Lingamneni
8c74b0660b
fix #952
4 anni fa
Shivaram Lingamneni
3e01e9995b
fix #836
4 anni fa
Shivaram Lingamneni
829481ab40
fix #715
4 anni fa
Shivaram Lingamneni
f5ca35ed72
rename 'bouncer' to 'multiclient'
4 anni fa
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4 anni fa
Shivaram Lingamneni
f920d3b79f
fix #530, #721
4 anni fa
Shivaram Lingamneni
6740222ecb
fix #616
4 anni fa
Shivaram Lingamneni
332f0d8d91
fix #644
4 anni fa
Shivaram Lingamneni
8fc588375b
implement user preferences system
5 anni fa
Shivaram Lingamneni
ff7bbc4a9c
track channel registrations per account
* limit the total number of registrations per account
* when an account is unregistered, unregister all its channels
5 anni fa
Shivaram Lingamneni
854d85a474
add schema change for [dk]line refactor
5 anni fa
Shivaram Lingamneni
f154ea9583
add an error message for schema changes
5 anni fa
Shivaram Lingamneni
d6d3a10817
implement #322
Automatically create the datastore on `oragono run` if it doesn't exist.
See also #302 .
5 anni fa
Sean Enck
c20afab7c2
prevents default create/open of buntdb, requires user to call initdb
5 anni fa
Shivaram Lingamneni
c3d197f4ff
make unix domain socket permissions configurable
5 anni fa
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
5 anni fa
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
6 anni fa
Shivaram Lingamneni
43b90f2a85
have travis enforce gofmt, #253
6 anni fa
Shivaram Lingamneni
3db71415c9
review fixes
6 anni fa
Shivaram Lingamneni
69fd3ac324
implement database auto-upgrades (#243)
6 anni fa
Shivaram Lingamneni
8fb5a38851
Updates to channel persistence
1. Implement persistent channel keys (#208 )
2. Persist changes to registered channel modes
3. Backend changes for persisting operator status (partial #198 )
6 anni fa
Daniel Oaks
68b1dc9e72
Split passwd into its' own subpackage
6 anni fa
Daniel Oaks
eac6a69782
Fix some notes and add some comments.
6 anni fa
Shivaram Lingamneni
e8b1870067
refactor the rehash implementation
6 anni fa
Daniel Oaks
317a804644
Fix dates at top of source files
7 anni fa
Daniel Oaks
6d6c1936cc
Handle db better, fix bug, update db schema, rest
7 anni fa
Daniel Oaks
ae69ef5cd6
db: Remove SQLite db, hopefully looking up clients still works.Channel persistence is broken by this, will fix it later.
7 anni fa
Daniel Oaks
6e96a175d6
registration: Add new password manager, integrate registration and credential types
7 anni fa
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
8 anni fa
Jeremy Latt
cf76d2bd77
persist and load channel mask lists
10 anni fa
Jeremy Latt
5c6f8ff92a
improve logging
10 anni fa
Jeremy Latt
b421971b61
move db init/open functions into a single file
10 anni fa