Commit Graph

156 Commits (aef69c04b4227da3fb4e1b8c3f2af0d537a0eef7)

Author SHA1 Message Date
Your Name a14fba166f Fix cached-page 500s and flaky smoke/API tests
- terms/privacy/community-guidelines views accessed the cached page as an
  object ($page->title), but cachedPage() returns an array, causing a 500
  whenever a custom Page row existed. Switch to array access.
- PublicRouteSmokeTest: enable open_registration before hitting /register,
  which 404s by default when registration is disabled.
- Api/AccountTest: derive sanctum.stateful domain from app.url instead of
  hardcoding pixelfed.test, so the first-party auth test is environment
  independent.
2 weeks ago
Your Name f4dbddd8b5 Use locale_get_display_name for language labels
locale_get_display_language reads only the language subtag and ignores
the region, so zh-cn and zh-tw both rendered as 'Chinese - 中文'.
Switching to locale_get_display_name disambiguates region variants
(Chinese (China) / Chinese (Taiwan)) while leaving all region-less
locales unchanged.

Updated the settings language dropdown and the /i/lang picker.
2 weeks ago
Arnaud 6537787c4e More translatable strings : landing, privacy policy, terms 2 weeks ago
Your Name f0e951dcce fix: stop caching raw Eloquent models to prevent incomplete-object 500s
Caching an Eloquent model in a Cache::remember closure could deserialize
into a __PHP_Incomplete_Class on read, throwing 'attempt to access a
property on an incomplete object' and returning a 500. This surfaced on
guest profile pages (ProfileController::buildProfile reading
$user->user->settings) and affected several other latent call sites.

Changes:
- ProfileController: cache a plain settings array instead of the
  UserSetting model; fall back to defaults when the settings row is missing
- StoryService::getById: fetch a live model instead of caching it
- InstanceService::getByDomain, CustomEmoji::scan: cache arrays
- Site/MobileController: cache Page data as an array via a shared
  ManagesCachedPages trait; update blade views to array access
- Add public-route smoke/regression tests covering the cache-read path
1 month ago
dansup edcda57e7a
Merge pull request #6387 from rm-yakovenko/issues/6376
[Server Bug]: app.logo is not used in code
6 months ago
Shlee d1f8fff739
Update redirect.blade.php 8 months ago
Rm Yakovenko a63dbd8436 [Server Bug]: app.logo is not used in code 9 months ago
root (Deneir) 163fc3805d internationalization of site/about, site/fediverse, site/opensource 2 years ago
root (Deneir) c392cda2e7 internationalization of site/contact 2 years ago
Daniele B ff987098e7
Update instagram documentation
It would be more accessible to link directly to Instagram's settings page instead of linking the specific documentation page on this feature.
2 years ago
Daniel Supernault 14c828e645
Add fallback avatar to contact admin response blade view 2 years ago
Daniel Supernault 45f19ded61
Add admin-response blade view 2 years ago
Daniel Supernault 911446c03e
Update app.name config, use config_cache 3 years ago
Daniel Supernault 5e4d4eff9d
Update config cache 3 years ago
Daniel Supernault 4a6be62128
Add account migration configurable, but enabled by default 3 years ago
Daniel Supernault 2f48df8ca8
Update kb, add email confirmation issues page 3 years ago
Daniel Supernault 8dac2caf1d
Add Curated Onboarding 3 years ago
Daniel Supernault c53894fe16
Add Parental Controls feature 3 years ago
Daniel Supernault eab16e7fd8
Add Help Center Documentation for Account Migration 3 years ago
Daniel Supernault 9f3e809f26
Add Import Help Center page 3 years ago
Daniel Supernault 1bbee6d07b
Update RegisterController, improve max_users calculation and add kb page to redirect to if conditions are met 3 years ago
Daniel Supernault 6d3c7afd2b
Update landing view 4 years ago
Daniel Supernault 09c0032b39
New landing page design 4 years ago
Daniel Supernault 3c712a70d6
Add Licenses help page, fixes #4238 4 years ago
Daniel Supernault 4739d6146f
Update FollowerController, remove deprecated /i/follow endpoint 4 years ago
Yoaz ebd477da8e Improve UX on contact pages 4 years ago
Daniel Supernault bda9d16b58
Update landing view 4 years ago
Daniel Supernault 0b7d0a9627
Add customizable Legal Notice page 4 years ago
Shlee 142caebe91
Update about.blade.php 4 years ago
Daniel Supernault 6e2cb3cd7f
Update index view, remove shortcut from favicon meta tag. Fixes #3196 5 years ago
okpierre d500626295
Update index.blade.php 5 years ago
daniel 14f9033715
Merge pull request #2868 from nogafam-es/staging
Fix PWA implementation to support Gecko-based browsers, using html link tag
5 years ago
Daniel Supernault 03199e2f68
Update follow intent, fix follower count leak 5 years ago
nogafam.es Admin e56da35826 Fix PWA implementation to support standard using html link tag 5 years ago
Daniel Supernault e9ef0c887a
Add Archive Posts 5 years ago
Daniel Supernault 549202948d
Update landing page, use config_cache 5 years ago
Daniel Supernault 92dc7af69b
Update landing and about page 5 years ago
Daniel Supernault f4fc8347c9
Update config() to config_cache() 5 years ago
Daniel Supernault 61254b907f
Update site name config 5 years ago
Daniel Supernault af7face4da
Add Network Timeline 6 years ago
Daniel Supernault a0a15730db
Update help template 6 years ago
Daniel Supernault 8474d32114
Add instance actor help page 6 years ago
Daniel Supernault d48582c9d7
Update labs deprecation page 6 years ago
Daniel Supernault df9c3adff6
Update Timeline, remove simple mode and set labs deprecation date 6 years ago
Daniel Supernault 425a6311e2
Update captcha views 6 years ago
Daniel Supernault 082c1ccb26
Add hCaptcha 6 years ago
Daniel Supernault 2e47091e6e
Update Help Center, add direct message section 6 years ago
Daniel Supernault 03eff2f623
Add site redirect view 6 years ago
Daniel Supernault 739f459b86
Update Help Center, add tagging people section 6 years ago
Daniel Supernault 7282c85231
Update fediverse view 7 years ago