* add new icon from bounty
* Add sidebar to docs pages with dashboard link
- Add dedicated sidebar to docs pages (Index and Show)
- Hide authenticated user nav on docs pages via hide_nav flag
- Add Hackatime logo and 'Go to Dashboard' button to sidebar
- Add 17 popular editors to sidebar navigation
- Remove breadcrumbs from docs pages
- Add /home route for signed-out homepage
* Update homepage CTA text and docs screenshot
* Add 'More' button to homepage editor grid with docs anchor
* feat: add more editors to homepage editorgrid
* fix: weirdness in docs sidebar
* implement isActive function suggestion
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Fixes?
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Mahad Kalam <mahadkalam1234@gmail.com>
Co-authored-by: Mahad Kalam <55807755+skyfallwastaken@users.noreply.github.com>
* Themes pt1
* Themes pt2
* Standard -> Classic, new default is Gruvbox Dark
* Make settings shell fatter
* more theme fixes :nodnod:
* Remove orphaned file
* feat(oauth): add rotate_secret action for oauth applications
Add POST routes and controller actions for both owner-facing and admin
OAuth application secret rotation using Doorkeeper's renew_secret.
* feat(oauth): add rotate secret button and flash display to views
Add Rotate Secret button with confirmation dialog to both owner and
admin show pages. Display rotated secret via flash with copy button.
* fix(oauth): restrict admin secret rotation to superadmins only
Add explicit superadmin authorization check in rotate_secret action.
The route constraint already limits access, but this adds defense in
depth at the controller level to prevent privilege escalation.
* fix(oauth): address PR review feedback for secret rotation
- Remove duplicate stale lines in admin controller
- Fix indentation in admin controller, both show views
- Add superadmin guard to admin rotate_secret action
- Use I18n for flash messages in doorkeeper controller
- Add respond_to HTML/JSON branches matching existing patterns
- Fix double space in before_action array
* let's clean up a bit?
* pt 2.
* Make it actually work :P
---------
Co-authored-by: Mahad Kalam <mahadkalam1234@gmail.com>
Co-authored-by: Mahad Kalam <55807755+skyfallwastaken@users.noreply.github.com>
Added JetBrains (fka in step 2 as "PyCharm," even though JetBrains has other IDEs with identical plugins) and Sublime Text.
Also fixed VS Code status bar screenshots (previously using the CDN but no longer works) by uploading them to /public to avoid relying on third parties.
What this does not fix:
- Adding Unity editor.
- Adding the "Heartbeat detected!" from the VS Code setup.
Instructions should be accurate (based off /docs).
Co-authored-by: Mahad Kalam <55807755+skyfallwastaken@users.noreply.github.com>
* Fix redirects in new account flow?
* Fix redirects! And tests!
* Make tests better
* I will test this club
* Uh oh, let's redirect to WakaTime setup
* Make it actually detect new users properly?