Commit graph

31 commits

Author SHA1 Message Date
Gered a7f1d5aa17 don't show inventory management ui if user is not authorized
but can show it if user authorization is not required, as indicated by
the app's config.edn
2016-06-29 18:29:28 -04:00
Gered 2c89c13a64 add server-side enforcement of authentication for collection add/remove 2016-06-29 18:19:29 -04:00
Gered ce9ef7b3e4 add login/logout support. users defined in config.edn
no actions are protected yet
2016-06-29 18:08:22 -04:00
Gered 2676de8c74 render csrf token meta tag in page html 2016-06-29 18:07:43 -04:00
Gered e4a8c85e1a ensure csrf header is sent on all ajax requests 2016-06-29 18:06:25 -04:00
Gered 0ea54572ba add ttl session store 2016-06-29 18:06:01 -04:00
Gered ce4c2c1a39 fix dev mode not reloading code changes
hacky fix due to the fact that we load the app config at a time later
then when the namespace is first loaded, so our old wrap-env-middleware
cannot work as-is. and then immutant's own run function alternative that
can be used to run the server in dev mode has some super annoying
behaviour that can't be turned off (opening a browser on startup... who
the *fuck* actually likes this behaviour? don't you people keep a
browser open all the time when you're working on web dev anyway?)
2016-06-29 16:26:08 -04:00
Gered 058d587903 add page footer 2016-06-29 15:54:43 -04:00
Gered 23ebc7edf0 add foil card count to stats page 2016-06-29 15:12:19 -04:00
Gered f2e1cacfa5 show large set image on set info page 2016-06-29 15:00:16 -04:00
Gered ad413d5399 add converted mana cost search filtering 2016-06-29 14:50:34 -04:00
Gered 2e0644057e add search filtering based on foil card inventory amounts 2016-06-29 14:41:10 -04:00
Gered 5fe5568e2a clean up card inventory popover layout 2016-06-29 11:52:21 -04:00
Gered a957440f3b add foil tracking to card collection 2016-06-29 11:36:27 -04:00
Gered 0879a24e9f fix for lein rollback/migrate 2016-06-29 11:35:58 -04:00
Gered fc67496893 add rarity search filter 2016-06-29 10:38:33 -04:00
Gered 8945c524be include a link to the set shown in the card list set column 2016-06-29 10:25:22 -04:00
Gered 2a58d12214 minor adjustments to output of image scraper 2016-06-29 10:21:23 -04:00
Gered 3bc4cc44f8 download mana symbols into same directory as other symbols
to simplify the client-side symbol image formatting text code (doesn't
need to determine which symbols are mana and which aren't)
2016-06-29 10:21:06 -04:00
Gered 2c419eeab9 remove remaining references to now unused card_images table 2016-06-29 09:59:09 -04:00
Gered da74147af4 cleanups 2016-06-29 09:57:24 -04:00
Gered 37b1f736a4 some price scraper namespace reorganization 2016-06-29 09:53:41 -04:00
Gered 3acc096202 remove unused require 2016-06-29 09:51:16 -04:00
Gered 3978fda02a some start/stop web adjustments. ensure shutdown-server is run on close
note that using addShutdownHook like this will not work in a REPL
or even using `lein run`, though for the latter `lein trampoline run`
will work instead
2016-06-29 09:50:41 -04:00
Gered 8859432b7d rename scrape-set-images action 2016-06-29 09:49:23 -04:00
Gered a0ef0d48e0 fix up formatting in cli usage summary 2016-06-29 09:49:01 -04:00
Gered c1fcaa4837 fix default "web" action not being set correctly 2016-06-29 09:48:16 -04:00
Gered aca45d9631 major reworking of various data and image importing/scraping operations
can now run the application from the command line to invoke the various
data import/update or image scraping operations.

removed all copies of scraped set/symbol/mana images
2016-06-28 19:16:04 -04:00
Gered c7c2c68ef4 update some dependency versions 2016-06-27 19:16:08 -04:00
Gered 965a2e9578 add README.md 2016-06-24 14:20:24 -04:00
Gered 064ad77af8 initial commit
not sure why i waited so long to put this project under version control
2016-06-24 14:17:45 -04:00