Commit Graph

1795 Commits

Author SHA1 Message Date
Stefan Zermatten
15ead403a5 Added UI for action branches 2022-02-09 16:47:38 +02:00
Stefan Zermatten
2bdd60b5e8 Fixed issue where migrating attributes lost their base value calculation 2022-02-09 12:37:16 +02:00
Stefan Zermatten
78c313e3d1 Archives and restore now works to S3 and file system
If a file is stored on the file system and s3 settings later become 
available it is still correctly fetched from the file system.
2022-02-03 11:48:03 +02:00
Stefan Zermatten
2abaa86795 Began work on moving file storage to s3, not working yet 2022-01-19 16:01:07 +02:00
Stefan Zermatten
90820452af Updated packages 2022-01-16 20:27:14 +02:00
dependabot[bot]
3b438c8ba4 Bump marked from 0.8.2 to 4.0.10 in /app
Bumps [marked](https://github.com/markedjs/marked) from 0.8.2 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.2...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:25:34 +00:00
Stefan Zermatten
d845a8f17e Added big scary message to future me to backup before migrating data 2021-12-29 14:42:36 +02:00
Stefan Zermatten
ed1873babe App can now go into maintenance mode locking out routing 2021-12-29 14:25:01 +02:00
Stefan Zermatten
2cf19d1ee5 Fixed typo breaking archive restore 2021-12-27 18:04:22 +02:00
Stefan Zermatten
2cd784c92b Updated Meteor to 2.5.1 2021-12-27 17:48:34 +02:00
Stefan Zermatten
dca55d1d00 Reduced bundle size using dynamic imports for Vue components 2021-12-27 16:29:43 +02:00
Stefan Zermatten
1dc03c8a28 Fixed failing test 2021-12-20 12:22:13 +02:00
Stefan Zermatten
510136e07f When restoring archived files, migration happens automatically 2021-12-20 12:20:50 +02:00
Stefan Zermatten
a5f5baf1cc DB archive characters are migrated and moved to file archive on migrate 2021-12-20 11:53:02 +02:00
Stefan Zermatten
1e10d8751b Archive now uses file system instead of collection 2021-12-19 12:20:09 +02:00
Stefan Zermatten
211659f759 Fixed styling of app name on mobile installed versions 2021-12-14 09:48:39 +02:00
Stefan Zermatten
86f5da3ca5 Fixed rolling straight to the log to use new parser interface 2021-12-08 10:24:06 +02:00
Stefan Zermatten
a58fd8860d Fixed descriptions having borders when not appropriate 2021-12-08 09:31:02 +02:00
Stefan Zermatten
6e22e4286f Fixed referencing variable.description in a calculation
Whether the description's inline calculations are calculated or not is 
not defined.
2021-12-08 09:23:29 +02:00
Stefan Zermatten
e34f29f952 Computations now occupy their own nodes on the dependency graph
This mitigates most issues with properties having self-loops, 
particularly in cases like Strength where the value `strength` is used 
in the description of Strength
2021-12-07 21:05:24 +02:00
Stefan Zermatten
6698d2fd74 Added migration to fix caclulation changes
Migrate `.currentValue` to `.value` and `.value` to `.total`
2021-11-18 16:28:30 +02:00
Stefan Zermatten
e3a1eff751 Progress all over the place with viewer, forms, small engine tweaks 2021-10-21 22:18:01 +02:00
Stefan Zermatten
1b5bb981e9 Updated viewers
Action, classlevel, constant, container, damage multiplier, damage, 
effect, feature, folder, item
2021-10-19 17:19:35 +02:00
Stefan Zermatten
d6be0ae9f4 Continued work on UI viewers 2021-10-18 13:46:51 +02:00
Stefan Zermatten
417ff6e210 Buffs no longer have the "applied" field, it was redundant
Because children of actions are always inactive in the new engine, buffs 
that are children of actions are inactive while buffs elsewhere on the 
character sheet are active, making it redundant to keep the extra field
2021-10-18 13:46:38 +02:00
Stefan Zermatten
7a11a4aa22 Improved action viewer, fixed bugs found along the way 2021-10-18 12:48:26 +02:00
Stefan Zermatten
f2369277f1 Fixed bug from misspelling .overridden as .overriden 2021-10-18 11:27:43 +02:00
Stefan Zermatten
bc6c857b6b UI work to improve look and feel of Viewers 2021-10-17 23:28:39 +02:00
Stefan Zermatten
247353f0ed Small progress on tabletop 2021-10-16 19:05:35 +02:00
Stefan Zermatten
ea68cdf86f Migrating UI for new data structures 2021-10-15 11:12:40 +02:00
Stefan Zermatten
f3c52999e8 Fixed action rewrite build errors 2021-10-10 20:08:29 +02:00
Stefan Zermatten
eebfbfd636 Refactored tabletop methods 2021-10-10 19:58:41 +02:00
Stefan Zermatten
51d3fbbcb7 Completed first pass at action system re-write. Untested 2021-10-10 19:44:02 +02:00
Stefan Zermatten
0cdec4a429 Start of action system re-write 2021-10-09 12:36:06 +02:00
Stefan Zermatten
0097696cc8 Began merging attacks into actions 2021-10-06 14:57:13 +02:00
Weslley Rocha
b9008314a2 converting string to number 2021-10-05 10:14:40 -03:00
Stefan Zermatten
1a14393031 Parsed calculations are now cached between calculations
Parsing is one of the more expensive computations done to characters, so 
the parser results are now stored on the DB and only updated if they are 
dirty. A hash is used to determine if the calculation has changed since 
the last computation
2021-10-03 20:59:04 +02:00
Stefan Zermatten
c2d430ad23 Fixed tableLookup returning string instead of number 2021-10-03 19:21:35 +02:00
Stefan Zermatten
b78517b61f Finished migrating parser to be object orientation free. All tests pass 2021-10-03 13:54:17 +02:00
Stefan Zermatten
d30184434c Merge branch 'version-2-dev' of https://github.com/ThaumRystra/DiceCloud into version-2-dev 2021-10-01 13:41:41 +02:00
Stefan Zermatten
feffa45cf7 Began work on rewriting parser without object orientation
Parsing is expensive, if the parse tree can be stored on the DB it can 
save a lot of compute time, but mongo can't store Classes, so we 
re-write without classes
2021-10-01 13:41:22 +02:00
Stefan Zermatten
7dac0cf3f3 Removed color max length, using regex instead 2021-09-29 18:32:12 +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
b471d0c5cf improved calculation fields 2021-09-27 19:25:11 +02:00
Stefan Zermatten
6dc7e12582 Fixed computation bug for compile level calcs 2021-09-27 18:14:04 +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
85e8756d1d Fixed parse errors not showing up on calculations 2021-09-27 16:39:44 +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
Stefan Zermatten
fdea748441 Tore out the old engine, left some wounds 2021-09-27 14:28:32 +02:00