Commit graph

92 commits

Author SHA1 Message Date
Gered 7ffb4eb4c2 version 1.1.2 2018-05-31 17:57:55 -04:00
Gered f3a39be7b6 use specific version (3.3.7) of bootstrap css, since we're using that js
that'll teach me for using a cdn url always pointing to the latest
version ...
2018-05-31 17:57:28 -04:00
Gered ee02f06969 bump version for development 2016-08-04 22:44:22 -04:00
Gered 027d74185e version 1.1.1 2016-08-04 22:42:43 -04:00
Gered 9d76abec7c remove old button styling that is no longer applicable in a dropdown 2016-08-04 22:41:25 -04:00
Gered 460d7bb4f7 hide the "copy to owned" option since it's not implemented yet
should have been hidden in the first place
2016-08-04 22:40:31 -04:00
Gered aa3a31b992 add UI support for renaming a list 2016-08-04 22:39:43 -04:00
Gered d6949bc6f3 move list admin actions to a button dropdown to conserve header space 2016-08-04 22:06:26 -04:00
Gered a23e780e0f add creation date/times to lists 2016-08-04 22:06:02 -04:00
Gered 6c06ebb758 fix broken list deletions when cards are contained in the list 2016-08-03 19:08:03 -04:00
Gered 4054daa608 bump version for development 2016-08-01 16:49:06 -04:00
Gered 5580e47f26 version 1.1 2016-08-01 16:48:22 -04:00
Gered 68d40c3f35 page footer adjustments 2016-08-01 16:47:42 -04:00
Gered bac68b2b76 make list name on stats page header a link to the list 2016-08-01 16:43:24 -04:00
Gered aeb5021212 change list details page header a bit 2016-08-01 16:38:42 -04:00
Gered c3722371d3 modify stats page to allow display list-specific stats 2016-08-01 16:24:56 -04:00
Gered e4c2a03b72 show list card total in lists table and whether qualities are tracked 2016-08-01 16:00:18 -04:00
Gered 2cc0c65f0e make limit-to-list? option persist between back/forward page navigation
could get annoying as it would constantly be resetting back to the
default as the user clicked into different cards (for example) and then
went back to the list
2016-08-01 15:51:15 -04:00
Gered 196327ad31 fix card-list-table component's no-owned-highlight? option 2016-08-01 15:50:02 -04:00
Gered a7b9cd8d4f fix new list form default values. visibility toggle only if using auth 2016-08-01 15:40:57 -04:00
Gered 7a1f775d31 implement inventory popover UI for lists not using card qualities 2016-08-01 15:34:13 -04:00
Gered cd3cb45213 fix collection quantity add/remove to work properly when quality is nil 2016-08-01 15:33:31 -04:00
Gered 6265c390ae more list views. add user-id checking to recently added/changed views 2016-08-01 14:52:21 -04:00
Gered 90a5a26c95 rename card inventory views and add list id / user id parameters 2016-08-01 14:51:35 -04:00
Gered 1abbcf1302 inventory display text changes depending on what list is being used 2016-08-01 13:49:31 -04:00
Gered 3dbc417885 add cards listing to list details page
the filter to turn on/off the option to restrict shown cards to those
that are in the list being viewed is implemented in kind of a hacky
way that likely is a good indication that the search/filtering code
probably needs to be redesigned... ugh.
2016-08-01 13:43:25 -04:00
Gered a669221ad7 add initial lists UI with list/add/delete and some update support
currently doesn't show cards contained in any lists nor allow adding
or removing of cards to/from any lists
2016-07-31 15:58:53 -04:00
Gered ab66ca9a0a return new list id from the add list server-side route 2016-07-31 15:57:48 -04:00
Gered 53ab0dd10c add generic modal yes/no confirmation component 2016-07-31 15:57:17 -04:00
Gered 10713fa58f fix client-side state handling on user logout 2016-07-31 15:08:08 -04:00
Gered 1b0075cae5 replace hardcoded list-id 0 values with a named constant 2016-07-31 14:54:32 -04:00
Gered 27cccf5c4f add "click-to-edit" textarea component and markdown->html conversion 2016-07-31 14:53:56 -04:00
Gered 153fc9d390 add missing deref to db connection usage (oops) 2016-07-31 13:55:31 -04:00
Gered ebef05e1f5 add views for retrieving basic list data 2016-07-31 12:39:07 -04:00
Gered a71d4f541b add routes for basic list CRUD operations 2016-07-30 17:24:20 -04:00
Gered 962a3624b7 better handling of user login/logout and passing user-id's to views
when logging in/out, there is a small window where the server's session
state and the client-side state and view subscriptions will not exactly
align and some view subscription updates (because
mtgcoll.client.auth/user-profile was updated) will get treated as
unauthorized.

this change is admittedly somewhat quick/hacky, but basically the idea
is to track the sente connection state (which is true when sente is both
connected and a handshake event has been received) in a reagent atom.
if false, we hide the entire ui and show a "connecting ..." message.

not super pretty, but it's only shown to the user briefly and it solves
the problem. i'll need to revisit this at some point and wrap it up
in some library code or something somewhere to make the whole method
prettier to use in the future
2016-07-24 15:32:03 -04:00
Gered 20ab3c0693 client/server updates to use the newly added lists
just bare-bones changes for now, no list management, and some hardcoding
of list id 0 in places where code is showing something based on the
owned list of cards
2016-07-24 15:09:30 -04:00
Gered 4b2bc86866 sql migrations to add lists_card_quantities table
this replaces the old cards.owned_count and cards.owned_foil_count
columns. queries that used to use those will now need to join to
lists_card_quantities on card_id/list_id

this allows the same types of card lists as before to be retrieved
but show quantity counts from any lists instead of just the "Owned" list
2016-07-24 12:51:20 -04:00
Gered 42beeb8022 add sql migration to index lists.is_public 2016-07-23 17:29:21 -04:00
Gered c3c805ddad add sql migrations for new lists stuff 2016-07-23 17:00:59 -04:00
Gered 41753f0464 add extra sort by id in cards list to make it stable for equal values
add a bunch of extra sql indexes to make sure this is performant
2016-07-10 23:30:36 -04:00
Gered f8d858e821 format prices with 2 decimal places always 2016-07-10 17:15:53 -04:00
Gered ac93a58829 bump version for development 2016-06-30 11:22:18 -04:00
Gered f41ba55674 version 1.0.2 2016-06-30 11:21:43 -04:00
Gered a058fc5241 add logback.xml 2016-06-30 11:19:35 -04:00
Gered 2bd93b4994 fix some sql queries such that jsqlparser can correctly parse them 2016-06-30 11:13:54 -04:00
Gered 0433d10563 bump version for development 2016-06-30 00:08:11 -04:00
Gered fe369555f4 version 1.0.1 2016-06-30 00:07:32 -04:00
Gered 84f534ae53 round up when calculating number of pages of search results 2016-06-30 00:01:37 -04:00
Gered c471840fd7 allow enter keypress to submit login form 2016-06-29 23:53:05 -04:00