Commit Graph

1118 Commits

Author SHA1 Message Date
drusepth
8cd54092ce skip n+1 on linkable images in content#edit 2021-11-11 00:19:36 -08:00
drusepth
6bab0f705b cache image uploads to avoid n+1 query on content#index pages 2021-11-11 00:04:24 -08:00
drusepth
08e6ccc445 remote ajax call for removing tags 2021-10-05 00:37:18 -07:00
drusepth
a243e18317 add the ability to remove specific tags from tag management page 2021-10-05 00:22:45 -07:00
drusepth
a5b1faecb6 allow deleting tags / removing from all linked pages 2021-10-04 22:56:07 -07:00
drusepth
3475a3b533 add page tag controller with remove method 2021-10-04 22:47:22 -07:00
drusepth
0046af6880 add basic tags view in data vault 2021-10-04 21:23:58 -07:00
drusepth
468e1ed2f0 don't duplicate contributing universes in sidenav 2021-10-04 12:52:21 -07:00
drusepth
761d909a30 typecheck before filtering on universe 2021-10-03 01:36:08 -07:00
drusepth
7e69017899 fix contributor content universe scoping 2021-10-03 01:09:01 -07:00
drusepth
e9a26eb120 fix filtering by tag 2021-10-01 00:59:19 -07:00
drusepth
e46a491856 auto-enable created page types 2021-10-01 00:06:59 -07:00
drusepth
1db1813d80 can't skip this before_action if it's not a before_action 2021-09-30 23:45:41 -07:00
Andrew Brown
9086d3496d
Merge branch 'master' into oct-2021-release 2021-09-30 23:36:44 -07:00
Andrew Brown
5866cf5dab
Merge branch 'master' into august-perf 2021-09-30 23:04:42 -07:00
drusepth
6a208e3016 remove set_universe_scope dependence on current_user_content cache 2021-09-30 17:36:58 -07:00
drusepth
45aa1b64e9 Merge branch 'master' into august-perf 2021-09-30 17:03:22 -07:00
Andrew Brown
c0c559f1c4 skip some heavy cachebuilding for doc update api calls 2021-09-30 16:31:24 -07:00
Andrew Brown
84c5208a41
Merge branch 'master' into green 2021-09-29 14:11:02 -07:00
drusepth
3e22c2b4fc switch to more inclusive AF params 2021-09-17 14:25:32 -07:00
Andrew Brown
406105ecf0 move references into a job (needs tested) 2021-08-13 10:33:03 -07:00
Andrew Brown
22d199aead clean up code rework 2021-08-11 21:51:14 -07:00
Andrew Brown
56f2b410b5 use ContentPage piping on prompts page 2021-08-11 21:47:33 -07:00
Andrew Brown
09f248d88f save a bunch of queries by using cached ContentPages on dashboard 2021-08-11 19:36:40 -07:00
Andrew Brown
ed71129c48 get serendipitous questions working on content#index for ContentPage data 2021-08-11 17:15:32 -07:00
Andrew Brown
ac4c3dbd61 linkables cache safety 2021-08-11 16:53:48 -07:00
Andrew Brown
79267129d7 use contentpages in serendipitous 2021-08-09 13:59:21 -07:00
Andrew Brown
e4e54854a9 re-enable universe filtering on timelines#index 2021-08-09 12:47:21 -07:00
Andrew Brown
5c972738db WIP migrating to wide ContentPage usage 2021-08-09 01:29:58 -07:00
Andrew Brown
b12900a59b clean up previous commit 2021-08-08 17:49:19 -07:00
Andrew Brown
0d5e6db79a rewrite linkable content caching again, to exclude current_user_contnet ids 2021-08-08 17:37:28 -07:00
Andrew Brown
4e782bf55e include contributed content in contributable content 2021-08-08 17:11:37 -07:00
Andrew Brown
3f18f8c6ee wip before going down the ContentPage rabbit hole 2021-08-08 15:47:48 -07:00
Andrew Brown
7ceb687fff secure universe session var 2021-08-08 12:02:20 -07:00
Andrew Brown
8bad87b63a doc update readability 2021-08-03 14:33:03 -07:00
Andrew Brown
010f57c9a2 skip ui cache on document update 2021-08-03 14:31:51 -07:00
Andrew Brown
512bff2aae move the old doc user includes 2021-08-03 12:02:00 -07:00
Andrew Brown
4a48dc0253 standardize @current_user_content vs @linkables 2021-08-03 11:57:06 -07:00
Andrew Brown
f977c58666 simplify valid_content_types usage 2021-08-03 11:47:08 -07:00
Andrew Brown
54b1c43e34 skip ui cache on content api calls 2021-08-03 11:43:45 -07:00
Andrew Brown
7aafbdd25d freeze strings in ContentController 2021-08-03 11:36:17 -07:00
Andrew Brown
f23522e8b9 reuse user method for cache 2021-08-03 11:26:29 -07:00
Andrew Brown
1b99bdf9dc remove unnecessary queries 2021-08-03 11:19:21 -07:00
Andrew Brown
b2ef0f5981 helper for recently-created pages cache 2021-08-03 11:17:27 -07:00
Andrew Brown
7aed61d812 freeze AC strings 2021-08-03 01:50:17 -07:00
Andrew Brown
33625960f9 tweak cache guards 2021-08-03 01:41:07 -07:00
Andrew Brown
64715d334b collapse the loops 2021-08-03 01:38:42 -07:00
Andrew Brown
2eb50f510b only query for contributable content if you're a contributor to any universes 2021-08-03 01:35:57 -07:00
Andrew Brown
8bad60a773 rewrite cache_linkable_content_for_each_content_type with far fewer queries 2021-08-03 01:34:05 -07:00
Andrew Brown
062fef26b8 don't requery if we repeat a cache call 2021-08-03 01:21:02 -07:00