Emi Simpson
|
48dd31ec38
|
[web] Improve handling of too big fonts & pronouns
|
2021-10-25 22:14:05 -04:00 |
|
Emi Simpson
|
89da07ad92
|
[web] Fix bug where link creation was broken
|
2021-10-25 22:01:29 -04:00 |
|
Emi Simpson
|
569db808ff
|
[web] Fix incorrect pronoun in template
|
2021-10-25 21:56:49 -04:00 |
|
Emi Simpson
|
b16fbc9d78
|
Merge branch 'ogp'
|
2021-10-25 21:52:41 -04:00 |
|
Emi Simpson
|
2dfb69a0c6
|
Update Dockerfile to match new crate name
|
2021-10-25 21:52:24 -04:00 |
|
Emi Simpson
|
0463cb67c3
|
[web] Force use of a larger image in OGP card
|
2021-10-25 21:51:30 -04:00 |
|
Emi Simpson
|
5cffff0e00
|
Switch back to rust 2021
|
2021-10-25 21:51:14 -04:00 |
|
Emi Simpson
|
6c04f718a0
|
Fix Docker support
|
2021-10-25 21:11:40 -04:00 |
|
Emi Simpson
|
ba154abd16
|
Merge branch 'main' into ogp
|
2021-10-25 21:03:06 -04:00 |
|
Emi Simpson
|
8d8a92a0b5
|
Added Docker support
|
2021-10-25 21:02:33 -04:00 |
|
Emi Simpson
|
c75b0628c2
|
Add description to OGP tags
|
2021-10-25 21:01:38 -04:00 |
|
Emi Simpson
|
eb695f27bd
|
Add OGP tags to template
|
2021-10-25 15:48:41 -04:00 |
|
Emi Simpson
|
b1b85e6ec7
|
Add a handler for rendering images
|
2021-10-25 14:53:22 -04:00 |
|
Emi Simpson
|
01ec3137a2
|
Refactor request handling
|
2021-10-25 14:13:39 -04:00 |
|
Emi Simpson
|
5b370b24dc
|
[web] Fix redundant import
|
2021-10-25 13:07:52 -04:00 |
|
Emi Simpson
|
97bc7feea6
|
[web] Added procedural color generation
|
2021-10-25 13:07:40 -04:00 |
|
Emi Simpson
|
3530038ca4
|
Expose some more randomization utilities
|
2021-10-25 12:16:57 -04:00 |
|
Emi Simpson
|
70707f0b8e
|
Remove debug statements
|
2021-10-25 12:15:56 -04:00 |
|
Emi Simpson
|
68f6908e87
|
[web] Add basic support for generating OGP thumbnails
|
2021-10-25 11:47:39 -04:00 |
|
Ben Aaron Goldberg
|
6378adba7a
|
web: Added startup message
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-25 06:41:23 -04:00 |
|
Ben Aaron Goldberg
|
45c6eb39bb
|
web: Revert back to Rust 2018
It has better compatibly and the code works as is.
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-25 06:25:26 -04:00 |
|
Ben Aaron Goldberg
|
af85dc7dcf
|
web: rename crate to up dashes instead of underscores.
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-25 06:24:57 -04:00 |
|
Ben Aaron Goldberg
|
0fa50fad47
|
web: Remove debug comments
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 05:43:06 -04:00 |
|
Ben Aaron Goldberg
|
b6182eb317
|
web: Push name in title
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 05:42:18 -04:00 |
|
Ben Aaron Goldberg
|
63e4f2b8fc
|
lib: Make pref_strings lowercase
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 05:41:35 -04:00 |
|
Ben Aaron Goldberg
|
680bbd5b2d
|
web: Added example sentences
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 05:34:02 -04:00 |
|
Ben Aaron Goldberg
|
5aa00e052e
|
web: Add web page explantation message
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 05:19:45 -04:00 |
|
Ben Aaron Goldberg
|
5ad04f1427
|
lib: fixed pn selection so you get the same one on the day
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 04:57:57 -04:00 |
|
Ben Aaron Goldberg
|
a242260ee2
|
web: Better error handling
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 04:44:19 -04:00 |
|
Ben Aaron Goldberg
|
b7311d790c
|
web: Add name support
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 01:46:57 -04:00 |
|
Ben Aaron Goldberg
|
82fc7fc10f
|
Basic web app working
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 01:24:56 -04:00 |
|
Ben Aaron Goldberg
|
601f239d76
|
Added create_preferences method to InstanceSettings
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 01:24:23 -04:00 |
|
Ben Aaron Goldberg
|
fccbef27ee
|
Fixed UserPreferencesV0::as_prefstring_bytes
Also added more tests around prefstrings
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 01:21:14 -04:00 |
|
Ben Aaron Goldberg
|
29addcaf9a
|
Impl from_preferences
With creates a Preference instance from a list of pronoun weights.
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-24 00:01:48 -04:00 |
|
Ben Aaron Goldberg
|
87583fc383
|
Change method name of Preference to better conform to standards
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:46:56 -04:00 |
|
Ben Aaron Goldberg
|
2dfa2c2f92
|
Add WIP web frontend
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:44:08 -04:00 |
|
Ben Aaron Goldberg
|
ceace8ebb4
|
Add editorconfig
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:43:59 -04:00 |
|
Ben Aaron Goldberg
|
a0ce9ea8cb
|
Add some missing doc comments
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:43:12 -04:00 |
|
Ben Aaron Goldberg
|
63dd63c230
|
Impl select_pronouns and add parse_prefstring to InstanceSettings
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:33:12 -04:00 |
|
Ben Aaron Goldberg
|
71e979e023
|
Add the select_pronoun method to UserPreferencesV0 & impl Default for UserPreferences
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:31:45 -04:00 |
|
Ben Aaron Goldberg
|
a927e9010b
|
Impl into_prefstring_bytes for UserPreferencesV0
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:30:48 -04:00 |
|
Ben Aaron Goldberg
|
2233cf5a15
|
Fix typo in user pref spec
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-23 20:30:06 -04:00 |
|
Ben Aaron Goldberg
|
51d5ee9a2e
|
user_preferences: Completed impl of Preference for UserPreferences
from_prefstring_bytes and into_prefstring_bytes are now implemented.
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-22 00:35:06 -04:00 |
|
Ben Aaron Goldberg
|
ad34aa9a4c
|
Impl Error on ParserError
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-21 23:39:25 -04:00 |
|
Ben Aaron Goldberg
|
e35fadc778
|
Add Cargo.lock to gitignore
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
|
2021-10-21 23:20:22 -04:00 |
|
Emi Simpson
|
5c3e3b4af7
|
Fleshed out weighted tables
|
2021-10-21 23:06:14 -04:00 |
|
Emi Simpson
|
8a486323df
|
Add coversion to a weighted table to v0
|
2021-10-21 21:48:13 -04:00 |
|
Emi Simpson
|
01ef419505
|
Added v0 parsing
|
2021-10-21 18:33:38 -04:00 |
|
Emi Simpson
|
a97b97182e
|
Associate the lifetime of the settings with the table, not the user prefs
|
2021-10-21 15:05:52 -04:00 |
|
Emi Simpson
|
eaad02b4e7
|
Add crate-level docs
|
2021-10-21 14:43:04 -04:00 |
|