Commit Graph

111 Commits

Author SHA1 Message Date
Andrew Brown
4a48dc0253 standardize @current_user_content vs @linkables 2021-08-03 11:57:06 -07:00
Andrew Brown
f23522e8b9 reuse user method for cache 2021-08-03 11:26:29 -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
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
b9b559ac5d polish 2021-07-04 11:03:46 -07:00
Andrew Brown
bfa9b59100 use linkable images in dropdowns instead of current page's image 2021-05-21 13:13:51 -07:00
Andrew Brown
65415b8c35 use linkable pages instead of current_user pages in link fields 2021-05-16 01:44:39 -07:00
Andrew Brown
9c8ab5ef15 show documents from contributing universes in documents#index 2021-05-10 23:48:24 -07:00
Andrew Brown
fcd7e29de4 allow @mention linking documents and timelines 2021-05-10 14:37:40 -07:00
Andrew Brown
e8c3c99a96 limit documents to universe_scope 2021-05-01 13:50:20 -07:00
Andrew Brown
b8eaa88601 general polish 2021-04-29 14:29:33 -07:00
Andrew Brown
586e48a60c show most recent 8 notifications instead of 10 so they all fit on screen 2021-04-17 23:32:58 -07:00
Andrew Brown
7bc0a4747a documents fix 2021-03-12 08:44:32 -08:00
Andrew Brown
ea1a7fc94c convert queries to arrays so they don't get remade on e.g. counts 2021-03-08 11:20:37 -08:00
Andrew Brown
11a8d57167 knock off another query 2021-03-08 01:12:58 -08:00
Andrew Brown
83146060bd cache recent content list, avoid a query, include timelines/documents, and increase limit from 10/20 to 50 for everyone 2021-03-07 18:28:36 -08:00
Andrew Brown
cf14b2cc41 wrapping up random todos 2020-07-05 19:04:01 -05:00
Andrew Brown
aa058d08b9 show the timeline editor before creating any timelines 2020-07-05 18:00:28 -05:00
Andrew Brown
bf898250e9 ugh, wip 2020-06-10 00:11:49 -05:00
Andrew Brown
4b2fd1e744 notification designs 2020-04-20 17:56:09 -05:00
Andrew Brown
736c055a23 fix sidenav counts 2020-01-15 18:37:49 -06:00
Andrew Brown
63bdf83d23 sneaky 500 2019-07-12 13:12:36 -05:00
Andrew Brown
612809e517 Re-enable linking to universes 2019-05-12 02:59:18 -05:00
Andrew Brown
175038c10c fix 500 when focused to universe 2019-05-12 02:54:56 -05:00
Andrew Brown
22fd5b71a3 allow @mentioning universes 2019-05-03 16:49:02 -05:00
Andrew Brown
b1f62cccd2 redo the reverted commit 2019-05-03 16:29:17 -05:00
Andrew Brown
106daea496 Revert "code cleanup/naming"
This reverts commit 7e62a9e299.
2019-05-03 16:20:38 -05:00
Andrew Brown
7e62a9e299 code cleanup/naming 2019-05-03 12:20:35 -05:00
Andrew Brown
95d10b4313 hook up page linking w/ @mentions in docs 2019-04-09 21:04:44 -05:00
Andrew Brown
ed232b3373 always cache user universes 2019-01-05 17:30:40 -06:00
Andrew Brown
96897a1d49 documents index pt. 2: electric boogaloo 2018-12-12 17:59:48 -06:00
Andrew Brown
861081d5a7 dashboard polish 2018-12-12 14:07:40 -06:00
Andrew Brown
9233395120 fix scope user 2018-12-03 02:38:17 -06:00
Andrew Brown
efa2c09b3d fix unread pm count 2018-12-03 02:33:29 -06:00
Andrew Brown
cccaafa576 changes for new thredded versions 2018-12-02 14:35:02 -06:00
Andrew Brown
8ce85f6eda mad rad optimizations 2018-10-17 16:52:05 -05:00
Andrew Brown
1d1aaf5e22 more small wins 2018-09-24 12:02:06 -05:00
Andrew Brown
d79d7bc3f2 reuse content list cache 2018-09-24 01:42:17 -05:00
Andrew Brown
79e14e764f cut contributor queries in half 2018-09-24 01:33:07 -05:00
Andrew Brown
5bd47b3afc remove N sql queries from footer 2018-09-24 01:02:13 -05:00