Commit graph

308 commits

Author SHA1 Message Date
Tiffany Bennett
37925d59c3 web: Add config file + opensearch support 2016-10-10 12:23:30 -04:00
Tiffany Bennett
914f3a8dc2 Add boostrap JS to fix navbar on mobile 2016-10-09 17:31:48 -04:00
Tiffany Bennett
2770b88201 Make Number a struct 2016-10-08 19:46:01 -04:00
Tiffany Bennett
f5623c2f8e Split Num into its own file 2016-10-08 18:57:20 -04:00
Tiffany Bennett
c31d862059 Fix failing test 2016-10-08 18:56:27 -04:00
Tiffany Bennett
7f02e25756 Use QueryError for eval
Web now links to the suggested unit when making a typo suggestion, and
also prints conformance errors on property access better.
2016-10-08 17:50:36 -04:00
Tiffany Bennett
62a6e54d27 web: Links for definitions 2016-10-08 14:25:05 -04:00
Tiffany Bennett
0ccb298f96 web: Links for quantities (units for for now) 2016-10-08 13:06:34 -04:00
Tiffany Bennett
cf0d571d4e Lookup quantities first in units for + factorize 2016-10-08 13:02:02 -04:00
Tiffany Bennett
c691608dc7 web: Add links for unit lists and durations 2016-10-08 12:52:39 -04:00
Tiffany Bennett
d0c4c65bdc web: Add template reloading with watch feature 2016-10-08 11:30:56 -04:00
Tiffany Bennett
f4966ab70b web: Add some links to units 2016-10-08 11:20:46 -04:00
Tiffany Bennett
190ac4b9f1 Throw error when inequalities are input 2016-10-08 09:32:34 -04:00
Tiffany Bennett
99d277b16b web: More descriptive page titles 2016-10-07 20:16:16 -04:00
Tiffany Bennett
e0e90f209d Show query before reply 2016-10-07 20:05:54 -04:00
Tiffany Bennett
b745a44389 Show substances in search results 2016-10-07 19:54:52 -04:00
Tiffany Bennett
71af018e18 web: Show amounts when displaying substances 2016-10-07 19:42:52 -04:00
Tiffany Bennett
acdc0321a8 Add volume and missing radii to celestial bodies 2016-10-07 19:06:07 -04:00
Tiffany Bennett
cb5434f2d0 Make in an alias for ->
It was very rarely used as a shorthand for inch.
2016-10-07 18:54:57 -04:00
Tiffany Bennett
c4bdaf4e8c Gb is usually gigabit, not gilbert 2016-10-07 18:22:01 -04:00
Tiffany Bennett
2b10ecd426 web: Add logging 2016-10-07 15:49:45 -04:00
Tiffany Bennett
03a3ba1489 web: Add request size limits 2016-10-07 15:46:24 -04:00
Tiffany Bennett
ffe274ade3 Merge branch 'web' 2016-10-07 14:34:12 -04:00
Tiffany Bennett
4401d2c0ef Remove vestigial CFGs from rink-irc 2016-10-07 14:31:42 -04:00
Tiffany Bennett
ff283ee4c5 Accept bind address as first argument 2016-10-07 14:26:57 -04:00
Tiffany Bennett
f126f92789 Add a main page 2016-10-07 14:21:58 -04:00
Tiffany Bennett
a200eb5c08 Show main page on empty query 2016-10-06 18:49:28 -04:00
Tiffany Bennett
4008f1827b Error pages 2016-10-06 17:59:30 -04:00
Tiffany Bennett
712ece4f5d web: Handle dates 2016-10-06 17:15:03 -04:00
Tiffany Bennett
fc3fb3e8d5 web: Use a list for factorizations 2016-10-05 20:52:51 -04:00
Tiffany Bennett
fab6238447 web: Template time/memory limit errors properly 2016-10-05 20:48:48 -04:00
Tiffany Bennett
35ce729f19 web: Templates for json query results 2016-10-05 19:18:25 -04:00
Tiffany Bennett
97182a11f7 Serialize Dim as a string to fix json failure 2016-10-05 17:05:01 -04:00
Tiffany Bennett
26a8231fa3 web: Use json serialization for templating 2016-10-05 16:01:31 -04:00
Tiffany Bennett
0cf9ec3b7a Add serde support 2016-10-05 16:01:21 -04:00
Tiffany Bennett
1edf133a9a web: Use a div instead of a pre 2016-10-04 20:51:09 -04:00
Tiffany Bennett
00501ce3c3 web: Make logo link to / 2016-10-04 20:37:16 -04:00
Tiffany Bennett
f62bb4c39c web: Fix spaces in <pre> 2016-10-04 20:35:30 -04:00
Tiffany Bennett
73951c7b21 web: Assume SIGABRT is OOM 2016-10-04 20:35:08 -04:00
Tiffany Bennett
50c8a1045c Error on exponents which are too big 2016-10-04 20:27:23 -04:00
Tiffany Bennett
6c8b467958 Use a custom sandbox to avoid OOM 2016-10-04 20:22:52 -04:00
Tiffany Bennett
a37637a49f Use bootstrap, embed query results in pages 2016-10-04 19:33:55 -04:00
Tiffany Bennett
4236c9c8a3 Use handlebars templates 2016-10-03 23:52:39 -04:00
Tiffany Bennett
3067a1bc20 Move rink-web to iron 2016-10-03 23:30:26 -04:00
Tiffany Bennett
2363eeb292 Move rink-irc to its own subcrate 2016-10-03 22:26:50 -04:00
Tiffany Bennett
dfed8befbd Move rink-web to its own subcrate 2016-10-03 22:23:15 -04:00
Tiffany Bennett
bbcc6978c9 Replace int- prefixed units with doc comments
Previously all the customary units had int- prefixed to distinguish them
from historical measurements, but doc comments accomplish this task better.
2016-10-01 23:16:58 -04:00
Tiffany Bennett
5ccb9d064f Allow of in right-hand side of conversion 2016-10-01 23:03:39 -04:00
Tiffany Bennett
d629d707de Tighten cutoff for printing exact fractions
The volume of egg whites being 473176473/16000 is mostly line noise, not
useful information.
2016-10-01 22:47:51 -04:00
Tiffany Bennett
bb3d781df7 Cache into a temp file instead in case it fails
Should make rink behave better when run offline, and when the source
goes down.
2016-10-01 22:42:51 -04:00