Commit graph

31 commits

Author SHA1 Message Date
da5c1ee008 Let PhotoTags have timestamps; use more js cards.
Tags on photos can now have timestamps, so that if you are tagging
a video or audio you can reference a specific moment with your tag.
In the interface, this means the tag is clickable and seeks to that
point in the media.

For the user interface, I am finding I need to move away from jinja
for the object cards because it is too much hassle to keep the code
for jinja-based cards for static rendering and the js-based cards
for dynamic rendering in sync. Rather than write the same cards in
two languages I can dump the JSON into the script and render the cards
on load. Which makes the static HTML worse but that's what the JSON
API is for anyway.
2023-09-17 14:07:22 -07:00
a68f76176f Move themes into one file, set by class on html element. 2023-07-22 17:32:39 -07:00
e78a667ee3 Move the session into requests.session for universal access. 2023-02-01 22:04:44 -08:00
fb2a5e9d56 Use user ids for author search instead of usernames. 2022-11-09 19:41:16 -08:00
9db10289cc
Use code tag for userid. 2022-10-27 20:54:03 -07:00
707d1ec829
Move http functions to new javascript file http.js. 2022-10-01 14:24:36 -07:00
4001f6f371
Use datetime objects instead of timestamps in object model.
Trying to make better use of objects in this object oriented language.
2022-07-20 19:03:26 -07:00
a39e600619
Add favicon link to all HTML templates. 2022-05-28 16:21:23 -07:00
ebe6fcb07d
Rename spinner.js -> spinners.js.
It has been frustrating when I want to name a variable spinner.
2022-03-26 13:22:02 -07:00
e2e0e13fb5
Replace some h3 with h2. 2021-10-31 16:28:34 -07:00
2d4acfe511
Replace some h2 with h1, set h:first-child, last-child margin=0. 2021-10-31 16:14:18 -07:00
e101f4c2d8
Add author to bookmark card. 2021-10-23 18:48:27 -07:00
e5f2f6992b
Fix DOCTYPE should just be "html". 2021-06-22 13:38:08 -07:00
5e7b90cbe4
Combine all card templates into cards.html. 2021-01-20 18:26:42 -08:00
d4f5a196b9 Add Unauthorized exception.
This should start to see more use as I continue to build up the user
profile features.
2021-01-09 15:42:51 -08:00
84bf9b90de Add panels for user's created photos, albums, tags, bookmarks. 2021-01-09 11:27:29 -08:00
ea5a02f8b6 Use update_dynamic_elements for user name, clipboard count. 2021-01-07 20:18:07 -08:00
0c3ee6f2d2 Add search_embed for bringing search iframes to other pages. 2021-01-02 13:49:43 -08:00
e303b934f7 Add UI for editing user's display name. 2021-01-01 19:46:31 -08:00
adb1d0ef39 Replace all double blank lines with single, improve hash headers.
There was always some semblance that two blank lines has some kind of
meaning or structure that's different from single blank lines, but
in reality it was mostly arbitrary and I can't stand to look at it
any more.
2020-09-19 03:13:23 -07:00
14a2014c68 Add link to /userid/id on /user page. 2020-09-17 20:45:58 -07:00
8dafe8c4f4 Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:50:16 -07:00
b683413be0 Try different themes with the ?theme query. 2019-08-14 13:43:35 -07:00
0ea9f19592 Import api.js into the rest of the pages.
Now we can do anything from anywhere!
2018-09-23 16:53:49 -07:00
f397140e20 Make /logout operate on POST only. 2018-08-17 22:23:40 -07:00
8fdbd49f70 Minor html and style fixes.
Applied wrapping to the description <pre>s,
removed some css that referred to nonexistent things,
move some element tags inside the {%if%} that fills the contents.
2018-08-17 22:05:16 -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
21bd211889 Give Users a display_name. 2018-04-15 14:23:24 -07:00
30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00
797b3376a7 Add meta viewport to all pages. 2017-07-20 23:10:48 -07:00
1c30ef5785 Further separate front & back; Create frontends folder
New frontends folder will hold all front-end interfaces for etiquette. Existing flask site moved here and refers to itself as a package with external launcher. etiquette_site renamed to etiquette_flask
2017-05-01 21:49:28 -07:00
Renamed from templates/user.html (Browse further)