mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 18:56:42 +02:00
feat: add cache to ActivityPub sql queries + cache activity and note pages
- authenticated pages are not cached - add AnalyticsTrait to register a podcast webpage hit across mutliple controllers - set actor_id as unique in podcasts table - fix issues with preview card not appearing - update codeigniter4-uuid
This commit is contained in:
parent
54b84f9684
commit
2d297f45b3
42 changed files with 879 additions and 536 deletions
|
|
@ -26,7 +26,7 @@ class BaseController extends Controller
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $helpers = ['auth', 'analytics', 'svg', 'components', 'misc'];
|
||||
protected $helpers = ['auth', 'svg', 'components', 'misc'];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
@ -47,15 +47,5 @@ class BaseController extends Controller
|
|||
// Preload any models, libraries, etc, here.
|
||||
//--------------------------------------------------------------------
|
||||
// E.g.: $this->session = \Config\Services::session();
|
||||
|
||||
set_user_session_deny_list_ip();
|
||||
set_user_session_browser();
|
||||
set_user_session_referer();
|
||||
set_user_session_entry_page();
|
||||
}
|
||||
|
||||
protected static function triggerWebpageHit($podcastId)
|
||||
{
|
||||
webpage_hit($podcastId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue