Commit Graph

18 Commits

Author SHA1 Message Date
Eli Ribble ccdd03b04b Add simple page for showing details about a single account
For now this just includes the transactions that we know about on the
account. It'll grow. Give it time
2016-06-28 16:07:59 -06:00
Eli Ribble cd11c51cac Add last updated field to accounts table
The query here isn't quite right, but I don't have a network connection
so I can't be bothered to do the actual research to find out how to do
the SQL correctly. Also, I don't really care until I can do more
updates, so that's fine too
2016-06-28 16:06:14 -06:00
Eli Ribble f536f21d3c Standardize columns in our table
Like when we last did an update and whether or not something is deleted.
Nice for cleanup and code reuse
2016-06-28 15:46:18 -06:00
Eli Ribble 6d6112de33 Update account creation to take in the account ID
We need the account ID to uniquely identify the account when we request
transactions. So now we require the user to input the data. Over time we
may be able to come up with a way to make this less onerous for the user
since, in this case, AFCU actually calculates the account ID from the
user ID.

But we'll get to that as we learn more
2016-06-23 08:44:26 -06:00
Eli Ribble 104289418b Add support for creating and listing OFXAccounts
This makes it so that we can add new accounts and show the accounts that
we already have. We don't do anything with them yet, but that's okay it
was interesting figuring out how to get them set up at all. I'm
currently storing the passwords as unencrypted, which I intend to
change, but it's going to take some time to research exactly how to
encrypt them so that the data is not retrievable by a bad actor with
access to the database.
2016-06-21 07:51:36 -06:00
Eli Ribble 0aecabea75 Add the accounts page placeholder
This proves out that my navigation works the way that I want and that my
auto context variables are working. Currently we don't do much but say
they have no accounts, but we can build that up over time
2016-06-09 10:29:57 -06:00
Eli Ribble e1f39bb852 Use automatic template context rather than passing the path through
Saves me having to push a bunch of common stuff through, which just
makes sense
2016-06-09 10:18:30 -06:00
Eli Ribble f566ca8914 Remove my old test logout button
I now have a legit logout button in my navbar!
2016-06-09 10:00:00 -06:00
Eli Ribble 213562120c Fix my logout form
I accidentally an =
2016-06-09 09:58:50 -06:00
Eli Ribble 173a88a3b3 Make my dropdown menu black like my navbar
I like the black-on-white asthetic, so let's make the dropdown menu do
that. I pulled this code from
https://github.com/twbs/bootstrap/issues/9588

It works great now that I'm processing my sass
2016-06-09 09:57:04 -06:00
Eli Ribble 5cc8e1a205 Fix up navbar to have the structure I wanted
This means logout in a menu underneath the username, some high-level
navigation points, that sort of thing
2016-06-09 09:43:59 -06:00
Eli Ribble 60e6f7c834 Add a navbar to the main page after login
I'll probably use it. Fairly certain. It looks nice either way.

This breaks up the main layout to 'things with the navbar' and 'things
without' and uses inheritance to make it all work out nicely. I also
added my first static asset which assumes nginx is properly configured
to serve up the file rather than doing it through vanth
2016-06-09 01:19:03 -06:00
Eli Ribble 8c6c6670f8 Pretty up my login form with bootstrap styles
Mostly I just used he right class for the layout container and added
some classes to the login form so that bootstrap styles could handle
the rest
2016-06-09 00:38:34 -06:00
Eli Ribble e70ad7c2b5 Add bootstrap styles and javascript from MaxCDN
This will help me pretty things up around here
2016-06-09 00:33:59 -06:00
Eli Ribble ff9829d4d2 Switch back to using form-based login/logout
I've decided I want this application to be a progressive enhancement
application. That means that I'm not going to keep dealing with the
insanity that is Javascript bundling and transpiling and building the
entire UI in JS. I want to believe I can treat the web the way that it's
been designed for decades - as a document platform with enhancement
capabilities rather than as an emerging VM
2016-06-02 20:51:08 -06:00
Eli Ribble 6338c4f066 Add working webpack config and react app
It doesn't do much yet, I'm just sketching out the basic elements and
starting to get a basis for something that will work
2016-05-16 18:21:37 -06:00
Eli Ribble 861b6f0f71 Implement a simple logout mechanism
I would have done a DELETE to /login/ to make it like a resource but my
browser won't do a raw <form> with method="DELETE" :(
2016-05-02 11:58:28 -06:00
Eli Ribble 94b78dacca Add simple user login via flask_login
This doesn't do much - it'll authenticate any username and password. But
at least it will show me when a user is logged in and when they aren't,
which is useful to start figuring out the workflow for sessions
2016-05-02 11:54:32 -06:00