Stefan Zermatten
67da641244
Migrated internal variables to ~ prefix
2023-01-31 20:36:26 +02:00
Stefan Zermatten
f8e9131bdd
Vastly improved new character UX
...
Characters now can limit which libraries they allow
2022-07-18 13:45:14 +02:00
Stefan Zermatten
59ef7527b7
Fixed some errors with character insertion/deletion
2022-07-09 12:53:44 +02:00
Stefan Zermatten
f07f05ca2c
Moved creature variables to their own collection
...
Another big change to the engine, expect bugs
2022-06-29 14:54:25 +02:00
Stefan Zermatten
b2f89eceee
Fixed some bugs with characters not recomputing
...
TODO: remove .variables cache from creature document, it's not viable
2022-06-23 08:39:48 +02:00
Stefan Zermatten
a8ffa2f786
Fixed denormalized creature variables not removed
2022-06-20 13:05:38 +02:00
Stefan Zermatten
28934baac9
Implemented archive upload handling
2022-06-07 23:01:06 +02:00
Stefan Zermatten
1b3efae81a
Replaced manual recompute calls with dirty flag settings
2022-05-11 15:42:29 +02:00
Stefan Zermatten
78cd8ffc8d
Creatures are now cached in memory for computation
...
Also removed dependency group calculation because the optimisation isn't
as useful to reduce DB calls if the creature is in memory anyway
2022-05-11 13:30:33 +02:00
Stefan Zermatten
23fa6fe634
Progress on dependency updates
2022-05-09 16:32:15 +02:00
Stefan Zermatten
caf50d1578
Merge branch 'version-2' into version-2-dev
2022-05-09 12:46:09 +02:00
Stefan Zermatten
33fa22c187
Removed stray log
2022-05-02 23:31:52 +02:00
Stefan Zermatten
2e3f0320f3
Added dependency grouping, but commented out for now until it's needed
2022-05-02 23:31:10 +02:00
Stefan Zermatten
ea32c54f57
Fixed massive writes to creature.variables on calc
...
Now only writes changed variables, preventing oplog from being
polluted with massive updates
2022-04-25 13:57:39 +02:00
Stefan Zermatten
7ee4a22d77
Fixed error where dependency loops including classLevels break the sheet
2022-02-26 13:06:00 +02:00
Stefan Zermatten
359f18988c
Account functionality extended, API authentication implemented
...
- Can now add a second email address to your account and delete one of
your email addresses
- Reset password now works
- Resetting the password of an account without a password set will set
one
- Email templates overhauled
- Login tokens limited to close previously devastating ($800 database
bill) security hole
- Login with REST API now works
- Once logged in, authentication of API calls with token works
- Creatures can now be fetched using the API
2022-02-10 19:02:18 +02:00
Stefan Zermatten
0cdec4a429
Start of action system re-write
2021-10-09 12:36:06 +02:00
Stefan Zermatten
cb1fd38df3
Optimized some slow parts of the engine.
...
Last low hanging fruit: parsing is slow, cache parsed calculations
2021-09-29 15:54:14 +02:00
Stefan Zermatten
cb10b53a10
Updated forms and some UI for new data structure
2021-09-28 14:25:11 +02:00
Stefan Zermatten
b0ee5cd304
Continued iterating on calculations, added failing test for bugs found
2021-09-27 17:26:52 +02:00
Stefan Zermatten
111040e789
Began migrating the rest of the codebase to the new computation engine
2021-09-27 15:39:18 +02:00