51 Commits (master)

Author SHA1 Message Date
Zed A. Shaw f5c48e0869 Trying to find a leaking user and failing but at least this is probably cleaner. 3 days ago
Zed A. Shaw b20af384d1 Accidentally brought in changes from zedshaw.games taht shouldn't use ZSG code. 1 week ago
Zed A. Shaw 6e90ae93c4 Make the tests work again after moving the home page around. 2 weeks ago
Zed A. Shaw 2dc8915cc0 This console log isn't needed. 1 month ago
Zed A. Shaw e632e8b5db Brought back the original development from when I wasn't using the git upstream/origin setup. 1 month ago
Zed A. Shaw 2509137077 Changes from the merge operations to other sites. 1 month ago
Zed A. Shaw 1a596828e4 Improved testing and figuring out that the istanbul tests seem to duplicate anything in bundle.js vs. things tested directly in tests/ so I'll probably have to do one and not the other. 2 months ago
Zed A. Shaw 3826d7911f Have to move the login helper functions back into lib/testing.js so they don't get picked up as a test from tests/auth.js. Actually not sure why there were in tests/auth.js anyway. 2 months ago
Zed A. Shaw c67ebcd0e7 More tests to reach average 95% coverage, only thing can't really test is payments since that requires paypal. These tests are very simple and just enough to do a basic smoke test with more coming later. 2 months ago
Zed A. Shaw d4000a021d Add a simple quick chat test to the demos. 2 months ago
Zed A. Shaw b2a08ad4d6 Only run demos when DANGER_ADMIN and login so more of the components can load like FairPay and Chat. 2 months ago
Zed A. Shaw 98beeb07ad Test coverage is now at 92% of the lines which was my goal for today. Now as I work I'll start trying to increase the coverage of functions and aim for 90% if I can. 2 months ago
Zed A. Shaw 233935886f Initial simple test of the password reset. 2 months ago
Zed A. Shaw 8c7285fd75 Implements the user_profile tests. Did the commit wrong so screw it, here's everything. 2 months ago
Zed A. Shaw 1058e9821e Use the auth.js:login to implement the payments tests. 2 months ago
Zed A. Shaw 3c1140915b Implement a way to automatically login during tests. 2 months ago
Zed A. Shaw 1ae2dc5129 Tests now support coverage inside playwright. Next need to add coverage to the non-browser tests. 2 months ago
Zed A. Shaw 863ea61bff A very simple smoke test of the UI component demos. 2 months ago
Zed A. Shaw ecbd9530eb Implement a very basic test of the payments when running in fake mode. Doing more extensive testing would require dealing with PayPal blocking automation, and handling bitcoin test coins, both of which are far too much work. 2 months ago
Zed A. Shaw 6c4bb5f68b Test for the ormish lib, but not the M:M and 1:M stuff yet. 2 months ago
Zed A. Shaw 698c476fab Implements a first attempt at a way to extract validation rules from the database schema. 2 months ago
Zed A. Shaw f3ca966cee A much cleaner method of cleaning objects before handing them to models to prevent injection bugs and erros with knex. 2 months ago
Zed A. Shaw 92a7f95d29 Make user_payment tests run clean. 2 months ago
Zed A. Shaw 30bd02677b The client/lib/helpers.js was in a weird place, and it should probably be named something else. 2 months ago
Zed A. Shaw 3ecb15498d Created a Mutex which wasn't useful for solving the lazy schema loading race condition, but might be useful in the browser. 2 months ago
Zed A. Shaw e4614ce9bb Start a simple validation test for users which will become a more involved DB validation system. 2 months ago
Zed A. Shaw 6a3890952a Added a few fake credit cards from paypal also https://developer.paypal.com/docs/payflow/integration-guide/test-transactions/ 2 months ago
Zed A. Shaw f50b42da60 Implement a user unsubscribe feature. 3 months ago
Zed A. Shaw 9ac78dc7d9 Finally merged the code from the xor.academy work back into the project template. 3 months ago
Zed A. Shaw 204b8e481b Added very very basic transaction support on insert, delete, and update. 4 months ago
Zed A. Shaw 32aff4e0a0 Also by doing t.fail(error) you get a better error report of the problem, but you still have to to console.log(error) to get a stack trace (what?) 4 months ago
Zed A. Shaw c4875665cd All of the tests were not doing t.fail in the catch blocks. 4 months ago
Zed A. Shaw db9c8c9306 User model was setting the password_repeat backwards and not reporting test failure in the catch. 4 months ago
Zed A. Shaw f6fe17658d Login now stops using my fake login and instead makes one each time. 4 months ago
Zed A. Shaw 41cfb33bc8 Use register on the user test so that models a user registering. 4 months ago
Zed A. Shaw b06e8c6c12 More eslint fixes, and backing out the complaints of variables not being set because it seems to mess with how svelte works, but I need to confirm that. I also seem to be confused about how , works in CSS. 4 months ago
Zed A. Shaw 900fa56f8f Should be the last of the eslint complaints for the .js files. 4 months ago
Zed A. Shaw dd1150914a Tried to remove dayjs but not sure if it actually will work so just leave a note. 4 months ago
Zed A. Shaw 232108623b Messed up an ID check on the user test. 4 months ago
Zed A. Shaw 7d6144fbe9 This refactors the way App.svelte works to use a client/Layout.svelte so you can remove the headers and footers as needed on pages. 4 months ago
Zed A. Shaw 8b5fd1f60a Adding user to payments connections so users can...pay for things. 4 months ago
Zed A. Shaw 337b95b80d Add in better count usage to confirm it keeps working. 4 months ago
Zed A. Shaw 8cff826d38 Better tests for most models now after fixing count. 4 months ago
Zed A. Shaw 137325a3ec Quick tests of payments model. 4 months ago
Zed A. Shaw dca4c3f2fa Quick tests of payments model. 4 months ago
Zed A. Shaw 2ecc25b0c5 Remove more xor.academy thing from the models and write a better test for Media. 4 months ago
Zed A. Shaw bfebe78049 Bringing over the changes from XOR Academy work. Introduces payment components and WebTorrent. 4 months ago
Zed A. Shaw 2016db2ac1 Simple tests work now. 4 months ago
Zed A. Shaw 128884a6f9 Initial commit after ripping out the zedshaw.games specific things. 4 months ago