cide-site-s2cgi

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

49 check-ins

2020-12-12
07:20
Changed /admin/delete/card/... route to use POSIX regex instead of JS. Leaf check-in: a0f4af8a71 user: stephan tags: trunk
07:12
Typo which would break card deletion (if it were ever used). check-in: 8be58ee64c user: stephan tags: trunk
2020-08-12
19:44
Db build fix. check-in: e4130101ce user: stephan tags: trunk
2020-08-11
08:22
Added a copy of the frontend CGI script. check-in: e0bb892801 user: stephan tags: trunk
2020-07-05
20:59
Updated db backup script to include the new log db. check-in: d9a322ca55 user: stephan tags: trunk
20:44
Ported in the card log db extension from the morbad tree, to enable (with some effort) recovery of older versions of cards. check-in: c41351d9ed user: stephan tags: trunk
2020-07-02
15:14
Access denied message now links to the relevant BGG thread. check-in: 562d149ba0 user: stephan tags: trunk
14:58
Disable saving of cards by non-admins due to some unknown user who replaced all of the English-language cards with Portuguese ones. This is why we cannot have nice things. check-in: 7da82a3b0e user: stephan tags: trunk
2020-04-03
10:22
Db backup script modernization. check-in: 587b531436 user: stephan tags: trunk
2019-12-28
04:27
Extended db backup script to create an SQL dump and zip up its output. check-in: 52113e8681 user: stephan tags: trunk
2019-12-22
18:04
Doc typo. check-in: 08006d0026 user: stephan tags: trunk
2019-12-07
18:18
Minor internal code re-org. check-in: 5fdb2b9401 user: stephan tags: trunk
17:48
Updated cide user password to use SHA3-256 and a hash secret. Added user.s2 for managing db-side users. check-in: bf7fa46f35 user: stephan tags: trunk
2019-11-28
13:44
Accommodated new require.s2 module. check-in: fc50f71383 user: stephan tags: trunk
2019-11-27
14:14
Accommodated db schema change in what is/was ostensibly a one-shot script. check-in: c2ed4c7782 user: stephan tags: trunk
13:58
Removed unused query string. check-in: 875a9e99ba user: stephan tags: trunk
13:56
Renamed db table c_zability to card1, as its scope now encompasses what is informally known as "card type 1." check-in: f2edb9a84b user: stephan tags: trunk
2019-11-25
11:02
Minor schema change in the auth_token table. check-in: 628e38b322 user: stephan tags: trunk
2019-11-18
05:24
Reimplemented [c90df974f5] using the new s2 Expression-as-a-Key feature which was added yesterday to support this use case. check-in: 8664c11727 user: stephan tags: trunk
2019-11-17
17:52
Temporarily(?) disabled /deck POST (saving) without a login because the deck editor is accessible via the admin page even without a login. check-in: 9860eff060 user: stephan tags: trunk
15:02
Added support for setting the card/deck lock state via client input. In the CGI interface only admins can change locking or update a locked element. check-in: 54f21e25fb user: stephan tags: trunk
12:56
Pedantically un-hard-coded the cideToken cookie name, moving into a config option of the admin object. check-in: c90df974f5 user: stephan tags: trunk
12:55
Accommodated a permissions change on the live site. check-in: 9febc8638d user: stephan tags: trunk
12:54
Added COLLATE NOCASE to c_zability.deck, for consistency with the deck table (and because that just bit me). check-in: e8e8fcd9f0 user: stephan tags: trunk
2019-11-14
00:42
Added --no-cards|-C option to exportCards.s2, to export only the deck info. check-in: e99ae010f0 user: stephan tags: trunk
00:42
/deck route now optionally accepts a comma-separated list of IDs to return specific decks. check-in: e9c4a1cc5d user: stephan tags: trunk
2019-11-13
22:12
Made deck.uid COLLATE NOCASE to help avoid any accidental dupes. check-in: c6dd497064 user: stephan tags: trunk
2019-11-12
20:22
Fixed deck.cards loading (broken by uid/abbr changes). check-in: c9ee9e4cdf user: stephan tags: trunk
20:00
Corrected exportCards.s2 for schema change. check-in: 79e4023c86 user: stephan tags: trunk
19:53
Removed deck.abbr, as the distinction between deck.abbr and deck.uid is causing too much Grief in downstream code. check-in: 5d017f09ae user: stephan tags: trunk
18:02
Schema: set deck.uid=deck.abbr for the time being. We'll likely do away with abbr and use uid, as the discrepancy is causing notable Grief downstream. check-in: bc5ebe96eb user: stephan tags: trunk
2019-11-11
15:24
Improved an error message for a unique key combo constraint condition (attempted overwrite of same deck/number w/ different uid). check-in: 83a1cb2b22 user: stephan tags: trunk
11:15
Implemented /admin/delete/card route. check-in: 44f8ab69f6 user: stephan tags: trunk
06:17
Fixed assignment of uid on new cards which include their own. Added Scratchpad deck. check-in: e0c22efa5b user: stephan tags: trunk
2019-11-10
07:51
/card and /deck APIs now accept UID values as well as their prior inputs. Minor schema tweaks. Added a script to set c_zability.h_fontsize values because the editor app cannot currently properly detect is-modified if they are calculated client-side :/. check-in: 486620dd93 user: stephan tags: trunk
2019-11-09
11:42
Added an UPDATE/DELETE cascade. check-in: 4aa2439742 user: stephan tags: trunk
10:46
Changed main db tables to WITHOUT ROWID. Because we can. Seems to work. check-in: 2bd6aac1fb user: stephan tags: trunk
10:06
Renamed c_deck to deck. Added c_zability.uid/deck.uid field to allow us to gracefully handle the case of renaming a card or assigning it to a new deck. check-in: 1f02477193 user: stephan tags: trunk
01:52
Accommodated upstream addition. check-in: fe54ee7710 user: stephan tags: trunk
01:40
Removed unused loadable modules from cide.lib. check-in: ebadf02d06 user: stephan tags: trunk
01:12
Error message cosmetic tweaks. check-in: e40d7a807e user: stephan tags: trunk
01:09
Porting fixes in the /admin routes and auth-token-checking code. Corrected default value of cide.config.retainMTimes. check-in: f7bcda7518 user: stephan tags: trunk
00:50
Added import script. Corrected deck-save result object's structure. Various minor tweaks. check-in: a3fbf8040e user: stephan tags: trunk
2019-11-08
23:34
Added /decks route, changed format of parameters for /deck to deckAbbr#cardNumber. check-in: b6f3210121 user: stephan tags: trunk
22:42
Added initial HTTP request dispatching bits. Fetch of cards/decks works, but interface is subject to change. Saving is implemented but untested (so probably doesn't work). check-in: 85525c2a14 user: stephan tags: trunk
20:55
Added deck-saving support. check-in: 4e6af81c91 user: stephan tags: trunk
18:33
Added initial save support. check-in: 714ac6ee02 user: stephan tags: trunk
15:53
Initial work on cide-zability back-end CGI library. Loading works, normalization/saving is pending. check-in: b197ee7d49 user: stephan tags: trunk
11:53
initial empty check-in check-in: 9f39fb1562 user: stephan tags: trunk