a80e343db3
Add functions to support entity retrieval for the view/controller code
2018-06-30 12:17:50 +01:00
e39feddd60
Ignore recipe units when unit set to None
2018-06-29 13:27:50 +01:00
0e2ff8160e
Add recipe view page
2018-05-22 00:35:52 +01:00
7b2db40ff1
Add more convenient handling of page menus
...
As the page menu appears basically everywhere, this allows it to be
generated in one place - the page container generator - rather than
all over the shop
2018-05-22 00:33:10 +01:00
095f45db3b
Improve automatic exclusion of edited and deleted recipes
2017-01-18 21:24:29 +00:00
762efbd978
Merge remote-tracking branch 'origin/master'
2017-01-16 15:33:40 +00:00
c4af365ae9
Ensure title is defaulted
2017-01-16 15:33:27 +00:00
aca8de1834
Fix errors noticed during cadence EUA migration
2017-01-16 14:11:41 +00:00
26c5da2d5b
Piggyback left menu generation off userbar code
...
They have so much in common there's little point in separating them
and having to generate the same URLs in both.
2017-01-09 23:43:17 +00:00
39d2deaf5b
Remove redundant import
2017-01-09 08:48:59 +00:00
8c04995d0b
Fetch extra information with tags
2017-01-08 17:37:46 +00:00
0e62120ecc
Correct edited state case
2017-01-08 17:37:30 +00:00
6f35b4d1b1
Add support for recipe list retrieval
2017-01-08 17:37:16 +00:00
a5245c413f
Fix moronic typo in query
2017-01-08 17:36:50 +00:00
2c7cc59a60
Fix utterly bogus default block spec (from gallery days!)
2017-01-08 17:33:35 +00:00
ede2bfd2d7
Generate recipe page list
2017-01-08 17:33:10 +00:00
b990d0b191
Fix handling of optional ingredient fields
2017-01-02 14:29:34 +00:00
28427f9b67
Update create() docs to show that 'id' is a valid argument
2017-01-02 14:29:10 +00:00
9492a07f76
Fwix silly twypo in fwetchrow call
2017-01-02 14:28:45 +00:00
53c1c0e5f3
Fix the find function so it works (probably)
2017-01-02 13:30:45 +00:00
cc705356de
Set a fallback for message box backgrounds
2016-12-31 23:21:33 +00:00
5e434d097b
Fix the error box code to return the correct values
2016-12-30 16:05:35 +00:00
46facc9987
Call load_template from the template engine
2016-12-30 16:05:03 +00:00
e8b06a386c
Overhaul message box handling
2016-12-30 12:42:25 +00:00
267d9a3f37
Update quantity field name
2016-12-30 00:17:56 +00:00
5a49a9e579
Improve recipe retrieval query
2016-12-29 23:55:44 +00:00
c620310e77
Update function documentation
2016-12-29 23:54:56 +00:00
04f1ae9363
Ensure that recipe update fields are set on creation
2016-12-29 23:53:45 +00:00
0c49e06f5d
Make status changes set recipe 'updated' fields
2016-12-29 23:49:39 +00:00
d6251fb708
Fix imports
2016-12-29 23:44:57 +00:00
4d718abda3
Support specification of the create time
...
Importing from the old ORB system requires specification of the create
time, otherwise all recipes will appear to have been created at the
import time.
2016-12-24 16:53:22 +00:00
310818c3a4
Fix function call to go to the correct place
2016-12-24 16:52:18 +00:00
0a2a4b5bc6
Fix syntax and variable naming brainos
2016-12-24 16:44:36 +00:00
536ed85f97
Build the system-wide recipe and entity objects
2016-12-22 13:25:07 +00:00
20435a48dd
Add support for result sorting
2016-12-18 22:29:52 +00:00
30df796ed4
Improve API handling, and roll in cleanups
2016-12-12 08:52:14 +00:00
72351750d8
Work towards sanity updates/refactoring
2016-12-12 08:07:22 +00:00
e6ce9c710b
Commit interim work before cleanup
2016-12-11 11:35:13 +00:00
8735d29858
Clean up some long lines
2016-10-16 21:36:10 +01:00
e2da6e84ef
Merge upstream
2016-10-15 14:45:14 +01:00
9e9d72b1e5
Add mor ecode towards searching
2016-10-11 21:42:04 +01:00
131251ea4d
Implement majority of search facility
...
This is missing the ingredient and tag 'OR' featuers
2016-10-11 08:57:08 +01:00
2933ded557
Fix indentation
2016-10-11 08:56:56 +01:00
2a5464bd89
Repurpose _fetch_id to do multiple name lookup
2016-10-03 16:54:05 +01:00
a9eaabe086
Support searching by multiple ingredients
2016-09-24 14:01:26 +01:00
7d2e709cba
Remove redundant 'recipe' from function names
2016-09-23 08:40:02 +01:00
ed279cb3cf
Begin work on retrieval of recipe data
2016-09-21 00:17:20 +01:00
e9de229605
Explicitly record ingredient ordering
...
Previous versions relied on ID ordering, which theoretically is safe,
so it'll probably break horribly at some point.
2016-09-20 23:02:27 +01:00
d91f9d45de
Ensure that recipe IDs do not change between edits
2016-09-20 16:55:37 +01:00
51e9e1e2b3
Some more towards working.
2016-09-19 00:11:11 +01:00