Commit graph

58 commits

Author SHA1 Message Date
77be61f4c6 Update What Am I Looking At with more detail. 2020-01-29 23:09:44 -08:00
47c0a7221c Prototype of album drag-and-drop moving.
I'm not entirely happy with the way that native drag-and-drop looks,
the transparent bit that you hold while dragging looks dumb.
Will have to look into control / shift clicking to multiselect.
Also just using browser confirm() for now since I haven't made my
own dialog for that kind of thing yet.
2020-01-14 23:04:22 -08:00
0ef3c7d6bf Tags on this page: add separate buttons for must, may, forbid. 2020-01-14 16:44:12 -08:00
a9e9d9b32c Add a "Running" header, like the "Setting up" header. 2019-03-22 18:29:50 -07:00
71325f4fb5 Clarify gunicorn pythonpath instruction. 2018-11-04 19:54:09 -08:00
6e312bd287 Rename the etiquette_flask backend package to backend.
Alright, I got tired of confusing myself with the same-named
outer and inner package.
Keep in mind that every frontend implementation is supposed to be
its own independent project where etiquette is nothing but a
dependency. So the name backend is not ambiguous with the etiquette
backend.
2018-11-04 19:45:23 -08:00
6d3ab0f1ee Update to-do list with more dreams. 2018-11-04 19:10:28 -08:00
99dcd1f800 Put setup & run steps into <details> spoilers. Improve clarity. 2018-09-30 00:57:28 -07:00
cf9b6d0725 Workaround autocomplete box sticking around after submitting. 2018-07-22 20:20:54 -07:00
4c65ccaf68 Big! Liberate Groupables from strict heirarchy. Multiple parents.
I found that the strict heirarchy was not satisfying the situation
where one tag is the intersection of two others, but we can only
pick one as the parent

For example, does red_jacket belong under clothes.red_clothes or
clothes.jackets? A search for "red_clothes AND jackets" might
give us someone wearing red pants and a black jacket, so this
definitely needs to be a separate tag, but picking only one
parent for it is not sufficient. Now, a search for red_clothes
and a search for jackets will both find our red_jacket photo.

The change also applies to Albums because why not, and I'm sure
a similar case can be made.

Unfortunately this means tags no longer have one true qualname.
The concept of qualnames has not been completely phased out but
it's in progress.

This commit is very big because I was not sure for a long time
whether to go through with it, and so much stuff had to change
that I don't want to go back and figure out what could be grouped
together.
2018-07-20 13:09:06 -07:00
6d349aa235 Update to do list with more batching ideas. 2018-05-01 18:06:27 -07:00
79465b803e Remove album size caching from to do list.
With the recent improvements in album size determination this
is not necessary.
2018-04-19 19:00:16 -07:00
4491fa3b5a Fix quotation mark in example set command. 2018-04-15 21:53:39 -07:00
baf53c4759 Update readme with more setup and launch info. 2018-04-15 21:34:05 -07:00
21bd211889 Give Users a display_name. 2018-04-15 14:23:24 -07:00
db827d17ec Add to do regarding extension not being updated by override. 2018-03-21 19:20:06 -07:00
efd8e28c01 Remove Album improvements from readme.
I forgot to do this during 30d8d08.
2018-03-19 15:17:19 -07:00
a6babe116e Add some more notes about junctions.
Instead of, you know, actually writing the setup.py file.
2018-03-18 17:51:42 -07:00
e186653e36 Use shutil.which to discover ffmpeg.
How did I miss such an easy solution for so long??
So glad I did not go the env var route.
2018-03-18 17:03:11 -07:00
0c7d35435e Consider env vars for ffmpeg path. 2018-03-18 00:21:33 -07:00
ffe0be21f5 Fix Photo thumbnail paths to be relative to the PDB's thumb dir.
Previously they were relative to the directory from which the client
was launched, meaning it usually started with ./_etiquette.
Now it should be more portable and less tight.
2018-03-13 02:50:54 -07:00
ae6df8f999 Remove searchhidden from to do list. 2018-03-09 17:52:52 -08:00
d88db08693 Allow PDB.rollback to take a savepoint; Warn early commits.
If a @transaction method makes calls to other @transaction
methods, and one of those nested calls makes a commit, and then
the outer call raises an exception, then the outer call will
not rollback properly because its savepoint is no longer in
the savepoint stack. So let's warn the user if that happens.
Should this raise an exception instead of just warn? Not sure,
I mean the data is already committed.
2018-03-05 21:35:36 -08:00
3ff89c330f Remove obvious and unhelpful stuff from project structure. 2018-02-25 18:45:11 -08:00
c001b0fc87 Use SQL savepoints to improve @transaction.
I didn't know about these! Now we don't have to roll all the way
back in case of problems. This allows for raising exceptions as
control flow since they won't undo unrelated stuff.
2018-02-25 17:10:04 -08:00
9c6cae7177 Use event listeners instead of setting onkeyup manually. 2018-02-24 00:24:38 -08:00
5a1d259780 Add /clipboard UI for mass-tagging. 2018-02-22 15:23:57 -08:00
a9248d8cab Add CSS clipboard_size; and other clip hook improvements.
Any element with class clipboard_size will have its text updated;
Removed the call to on_pageload from save_ because it redundantly
causes a load. Separate those update hooks.
2018-02-20 20:20:20 -08:00
13e8bc4a6f Add more items to to-do list; minor fixes. 2018-02-20 16:50:39 -08:00
91d445a877 Add new page /clipboard, with full photo cards. 2018-02-17 19:12:34 -08:00
bf0ac1ebac Move etiquette_repl into a folder for consistency.
The items in the frontends folder should essentially be
black boxes with a launch file. Now the repl one looks the same
as the flask.
2018-02-16 22:31:10 -08:00
5e6f3d96b1 Remove localstorage from the todo list because that's done. 2018-01-13 20:06:53 -08:00
6f371701e4 Fix digest second-scan bug; Break down into smaller functions.
There was a bug where moving an album out of its determined parent
caused future digests to fail because I wanted to use the GroupExists
for control flow, but due to the @transaction decorator it was rolling
back the changes.
Moved some of the logical pieces of the function into subfunctions
as a visual and readability aid.
2018-01-09 18:59:15 -08:00
67c2dadffa Expand the project structure diagram on the readme. 2017-12-16 04:08:15 -08:00
443d93ce18 Add the clipboard tray where users manage their photo clipboard.
Appearing on search and album pages, the tray is where you can
remove items from your clipboard without having to click on its
checkbox -- that photo card may not even be on the current page.
2017-12-16 03:47:54 -08:00
d7d1e155c1 Add some tasks to the to do list. 2017-11-27 15:24:55 -08:00
74f4e74bdf Add a few docstrings and update readme to-do list. 2017-11-16 16:46:39 -08:00
e1a904da6f Update readme with project structure diagram. 2017-11-12 01:14:16 -08:00
ad00854a18 Update readme with thoughts about permissions 2017-09-29 14:28:16 -07:00
a026a7488e Update the to do list. 2017-07-29 16:23:24 -07:00
a70c1dca7c Update Readme: Stability and Contributing and to-do. 2017-07-13 23:53:42 -07:00
533970f248 Add more stuff to the to-do list. 2017-07-09 15:48:47 -07:00
57355cb032 Add /userid/id redirect to /user/name 2017-06-19 17:03:07 -07:00
821a5f3371 Move export functions to their own module. 2017-06-11 22:55:45 -07:00
4f03815a30 Floating point hⓂ️s, and update to-do. 2017-06-11 21:09:17 -07:00
4928095abb Minor commentary and cleanup 2017-05-13 15:27:08 -07:00
f8a78c6ee7 Minor cosmetics 2017-05-06 17:04:42 -07:00
d95eac4bb6 Minor improvements, update to-do list. 2017-04-20 18:31:48 -07:00
467d5a2626 Add basic project description to readme 2017-03-17 15:24:59 -07:00
e610eafb21 Add demo link to readme 2017-03-17 14:03:15 -07:00