Commit Graph

5209 Commits

Author SHA1 Message Date
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
dd969ba39f scratch that, lol 2021-08-03 11:27:41 -07:00
Andrew Brown
3db83d9e75 reuse cached universes to fetch ids 2021-08-03 11:27:04 -07:00
Andrew Brown
f23522e8b9 reuse user method for cache 2021-08-03 11:26:29 -07:00
Andrew Brown
fb8e298948 add header to recent edits stream 2021-08-03 11:21:00 -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
832bb924bf remove user#linkable_universes 2021-08-03 01:46:31 -07:00
Andrew Brown
34b5c753d4 reuse linkables cache instead of making new queries 2021-08-03 01:45:39 -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
Andrew Brown
753452f314 contrib helper cache 2021-08-03 01:19:55 -07:00
Andrew Brown
1b50e1b21f break cache methods out 2021-08-03 01:15:43 -07:00
Andrew Brown
8223f99f89 query smaller table 2021-08-03 01:03:49 -07:00
Andrew Brown
f3e61a2d57 -~3 queries 2021-08-03 01:02:43 -07:00
Andrew Brown
258be6f917 -1 query 2021-08-03 01:00:11 -07:00
Andrew Brown
5b29f1bdcc stronger guard vs deleted universes 2021-07-20 11:42:29 -07:00
Andrew Brown
f462c0e222 whoopsies, typo 2021-07-20 02:27:53 -07:00
Andrew Brown
1030f6d070 missing method 2021-07-20 02:23:19 -07:00
Andrew Brown
fb9e82abc7 oof, this needs to go BEFORE we clobber @content 2021-07-20 02:21:39 -07:00
Andrew Brown
d102da46fe how could I forget this bad boi 2021-07-20 02:08:16 -07:00
Andrew Brown
d5f498b97b need this for folder view 2021-07-20 02:04:14 -07:00
Andrew Brown
b9e6052f62
Merge pull request #986 from indentlabs/jul-18-changes
Document table changes & other polish
2021-07-20 03:21:50 -05:00
Andrew Brown
c2f33386c7
Merge branch 'master' into jul-18-changes 2021-07-19 16:43:08 -05:00
Andrew Brown
99efc2196c debug info 2021-07-18 23:41:31 -07:00
Andrew Brown
83209e47ea need this too :) 2021-07-18 19:50:30 -07:00
Andrew Brown
5076029b05 another deityship fix for migration 2021-07-18 19:50:10 -07:00
Andrew Brown
0f73f85659 don't translate the site name either 2021-07-18 19:40:49 -07:00
Andrew Brown
07b7845068 don't let google translate translate material icons 2021-07-18 19:37:30 -07:00
Andrew Brown
3380627a39 migration fix 2021-07-18 19:00:15 -07:00
Andrew Brown
ffee832158 s/.color}-text/.text_color}/ 2021-07-18 18:29:06 -07:00
Andrew Brown
ee3200976d s/.color %>-text/.text_color %>/ 2021-07-18 18:22:58 -07:00
Andrew Brown
f155c2b533 move stranded page groupers into folder 2021-07-18 18:04:03 -07:00
Andrew Brown
f56c8bc46b add text_color helper methods 2021-07-18 18:02:52 -07:00
Andrew Brown
cf999fbbe8 add doc table background for light/dark themes 2021-07-18 10:55:33 -07:00
Andrew Brown
b575dd9323 reuse PageTag icon from model 2021-07-18 10:43:55 -07:00
Andrew Brown
6da1d19ccb more icons & styling in document meta modal 2021-07-18 10:38:46 -07:00
Andrew Brown
b22034e812 style modal lhs headers 2021-07-18 10:34:18 -07:00
Andrew Brown
67f47f61f6 add universe dropdown to folder meta modal 2021-07-18 10:31:10 -07:00
Andrew Brown
88fa45dc26 style view/edit buttons in doc table 2021-07-18 10:24:52 -07:00
Andrew Brown
007017e8a7 thin-ize last-edited column a bit 2021-07-18 10:20:11 -07:00
Andrew Brown
5e1180ed94 add view/edit links back to document table (#332) 2021-07-18 10:19:34 -07:00
Andrew Brown
e4ece8ad6b remove links in modal-trigger row 2021-07-18 10:02:28 -07:00