Commit Graph
216 Commits
Author SHA1 Message Date
robert dennis 6640531ca3 search on input 2026-11-11 12:34:50 -05:00
Sky Mulley e7993cb2ef import indent with tab into file editor 2026-11-10 16:28:05 +00:00
robert dennis e6f1b328f6 review cleanup 2026-11-05 15:40:41 -05:00
robert dennis e467b4b5ff review fixes 2026-11-05 15:10:39 -05:00
robert dennis f7aa208cab fix ci 2026-10-20 15:46:16 -04:00
BHASKAR MELKANI 67c36e6088 feat: Refactor CodemirrorEditor for improved syntax highlighting (#7298)
This PR improves YAML syntax highlighting, selection rendering, and
search decorations across nested structures, multiline content, and
differently styled tokens.

Issues and fixes:

- YAML tokens in nested structures were not always classified correctly,
causing inconsistent syntax highlighting. The token classification logic
was refined to handle nested structures more reliably.
- Selection highlighting could render incorrectly across multiline
content and differently styled tokens. Selection rendering was updated
to preserve consistent highlighting in these cases.
- Search decorations could become misaligned with highlighted text.
Search marker alignment was corrected so decorations match the
corresponding content.
- Scrollbar markers did not always accurately reflect search results.
Scrollbar marker handling was improved to keep markers synchronized with
search decorations.
- Decoration layers could overlap or render in the wrong order.
Decoration layering was adjusted to ensure selection and search
decorations are displayed correctly.
2026-10-20 15:08:38 -04:00
ItzLinaton f573796549 Feat: Added startup command copy button (V2) (#7297)
Added a startup command copy button to the server startup page.

---

<img width="807" height="161"
alt="{8878188F-11F7-4EF5-B020-2D5C6AB12B94}"
src="https://github.com/user-attachments/assets/affe9c30-b74d-49a9-b5cb-e4adc121fe98"
/>
2026-10-16 14:12:23 -04:00
robert dennis f48fdb7d01 slot checks 2026-10-13 02:37:22 -04:00
robert dennis b2a31fe8ea nav cleanup 2026-10-12 21:44:55 -04:00
robert dennis 5006604b02 theme leftovers 2026-10-12 20:14:47 -04:00
robert dennis 51860b98ba theme polish 2026-10-12 19:29:07 -04:00
robert dennis 5d17261cbd theme cleanup 2026-10-12 17:59:50 -04:00
robert dennis 4c8256c08c theme fixes 2026-10-12 17:59:43 -04:00
robert dennis ea66bddf0a workbench polish 2026-10-12 16:24:43 -04:00
robert dennis 20b037a168 server views 2026-10-12 15:19:54 -04:00
robert dennis 69a065ca02 account views 2026-10-12 15:12:49 -04:00
robert dennis 3bb514cefa layout views 2026-10-12 14:22:58 -04:00
robert dennis 9cf7804d20 skin primitives 2026-10-12 14:22:47 -04:00
robert dennis 7b8b592900 theme views 2026-10-12 08:14:53 -04:00
robert dennis 4eb7f1f390 format editor 2026-10-12 05:26:08 -04:00
Sandip Ghimire 0d3ce311eb feat(editor): align CodeMirror search widget with panel theme and fix replace toggle (#7279)
The default CodeMirror search & replace bar in the File Editor was
unstyled, pushed the editor code down when opened, used mismatched
fonts/colors, and had a broken Replace collapse toggle.

### Changes
- Replaced the default search panel with a compact, floating top-right
widget (VS Code style) that doesn't shift editor content.
- Applied panel theme variables for backgrounds, inputs
(`var(--input)`), borders (`var(--border)`), primary buttons
(`var(--primary)`), and a danger close button (`var(--destructive)`).
- Set all widget inputs and buttons to use the theme font
(`var(--font-sans)`).
- Change the Replace section so it stays hidden by default and properly
collapses/expands on chevron click or `Ctrl+H`.
2026-10-11 17:49:53 -04:00
robert dennis 135b298560 alpha cleanup 2026-10-08 19:17:30 -04:00
robert dennis e217e42360 complexity cleanup 2026-10-08 18:49:15 -04:00
robert dennis cceaa535b8 lint cleanup 2026-10-08 16:54:59 -04:00
Sky Mulley faa806668b mask database password when viewing credentials 2026-10-06 22:32:56 +01:00
Sky Mulley 879b3fa11c convert mobile navbar to dropdown, similar to admin 2026-10-06 21:23:17 +01:00
Sky Mulley 829639a316 properly handle extensions adding menu items causing nav to become too long to handle 2026-10-06 21:16:27 +01:00
Sky Mulley 0a3bb17f06 switch login default logo to new pterodacty logo 2026-10-06 14:15:31 +01:00
Sky Mulley e8fd6f1e29 fix issue where tooltips would block the first press of buttons in the nav on mobile 2026-10-06 12:40:59 +01:00
BletzziandClaude Opus 5.5 55ad1f5e4b Keep the file editor focus ring above the active line and gutters
The focus ring was an outline on .cm-editor with a negative offset. The
scroller and the sticky gutters are positioned, so they painted over it:
the active line hid the ring on the right and the line numbers hid it on
the left. Draw the ring on a ::after layer above them instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 01:01:16 -03:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00
Dane Everitt d648a63e13 Update i18n to resolve issues rendering unclosed div tags (#5547) 2026-02-01 13:19:41 -08:00
Dane Everitt ab093344e7 Don't delete the initial content when using "Ctrl+Z" to undo (#5448)
Resolves https://github.com/pterodactyl/panel/issues/5263
2025-12-20 16:38:10 -08:00
Dane Everitt a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -08:00
Dane Everitt df9a7f71f9 Support canceling file uploads (#4441)
Closes #4440
2022-11-21 13:58:55 -07:00
DaneEveritt be29fe1db2 Break activity log values ignoring word boundaries
Not my favorite approach, but it'll work. closes #4305
2022-08-07 15:00:43 -04:00
DaneEveritt e878015109 Correctly wrap content in pre tag so it doesn't overflow 2022-07-10 14:53:15 -04:00
DaneEveritt edbbe520a7 Fix missing padding on overflowing dialogs 2022-07-10 14:52:57 -04:00
DaneEveritt 8b59c1c1a8 Support new sftp event types 2022-07-10 13:47:19 -04:00
DaneEveritt 33ab762f5a Add support for tracking more SFTP specific events 2022-07-09 19:30:38 -04:00
DaneEveritt 15aaa2b3c3 Fix display issues due to removal of quirks mode 2022-07-03 14:44:00 -04:00
DaneEveritt 2d836156d2 Update totp disable modal; require password for enable operation 2022-07-03 14:27:37 -04:00
DaneEveritt a4feed24a8 Improve dialog logic, add "asDialog" helper 2022-07-03 13:29:23 -04:00
DaneEveritt 822949408f Use new two-step configuration modal 2022-07-02 18:53:03 -04:00
DaneEveritt 870a964050 Fix checkboxes 2022-07-02 18:27:29 -04:00
DaneEveritt e49e6ee802 Better dialog setting logic 2022-07-02 18:27:22 -04:00
DaneEveritt 7a6440988b Support tooltip on disabled buttons, support click action 2022-07-02 17:24:49 -04:00
DaneEveritt 25d61525b3 Update new input styling 2022-07-02 17:24:24 -04:00
DaneEveritt 7c4028f8f1 Update dialog logic to support defining buttons/icon from anywhere 2022-07-02 17:24:12 -04:00
DaneEveritt 48af9bced1 Fix activity log rendering; closes #4208 2022-06-30 21:06:50 -04:00