Commit Graph
49 Commits
Author SHA1 Message Date
Alex Gleason c5ed881af0 Fix git sync nag showing immediately after cloning external projects
Store the HEAD commit OID as 'shakespeare.clonedAt' git config at clone
time, then use it to determine whether the user has actually altered the
project before showing the backup warning.
2026-03-18 01:24:10 -05:00
Alex Gleason 50bc875423 Fix stale template cache by re-cloning when force-pull fails
Shallow clones (depth=1) cause isomorphic-git's fetch to fail when the
remote template has new commits. Instead of showing an error toast and
falling back to the stale cached template, delete the cache and re-clone
fresh to ensure users always get the latest template.
2026-03-11 19:14:31 -05:00
Alex Gleason dff3497ba6 Set up 'shakespeare.autosync' config for non-forked repositories 2025-12-29 18:08:32 -06:00
Alex Gleason f5036b8b56 Checkout branch name, not commit oid 2025-12-28 15:50:57 -06:00
Alex Gleason 243853b6c8 Update template without depth: 1 2025-12-28 15:09:12 -06:00
Alex Gleason 956dfb5099 Clone non-owned Nostr repos to "upstream" remote 2025-12-23 02:01:28 -06:00
Alex Gleason 8b8958f7c8 Refactor ProjectsManager.cloneProject to accept an options object 2025-12-23 01:45:12 -06:00
Alex Gleason 9a288c38c7 Allow duplicating a project 2025-12-04 19:47:12 -06:00
Alex Gleason 89244d88e5 Fix updating templates 2025-12-01 23:34:06 -06:00
Alex Gleason 23ad0a9d35 Remember the chosen project template 2025-12-01 14:26:58 -06:00
Alex Gleason 4f73d99f64 Cache project template to VFS for faster clones 2025-11-23 10:42:07 -06:00
Alex Gleason d75bd386aa Make FS paths configurable 2025-10-23 14:50:05 -05:00
Alex Gleason e4c3fc8b05 Make git identity configurable in settings 2025-10-14 20:36:29 -05:00
Alex Gleason b5039c76f8 Make project template (mkstack itself) configurable in System Settings 2025-10-08 15:13:15 -05:00
Alex Gleason 75cab68281 Clean up directory if cloning fails 2025-09-29 16:48:35 -05:00
Alex Gleason f62b2f807c .ai -> .git/ai 2025-09-25 15:11:01 -05:00
Alex Gleason c0f906ae7e Merge branch 'zipImport' into 'main'
Add zip import option for new projects

See merge request soapbox-pub/act2!20
2025-09-25 17:31:44 +00:00
Alex Gleason a20bbfdf29 Request persistent storage when creating a project 2025-09-24 23:13:29 -05:00
Chad Curtis ce4a602270 Add check to verify extracted zip paths are within project directory. 2025-09-25 02:42:46 +00:00
Chad Curtis 5e352e60e9 Merge in from upstream and resolve conflicts 2025-09-25 02:33:26 +00:00
Alex Gleason fc36073654 Rename project 2025-09-23 21:38:26 -05:00
Alex Gleason d3e257f759 Transfer Nostr clone logic into Git class 2025-09-21 14:45:27 -05:00
Alex Gleason 69c1000063 Refactor Git to accept a nostr object 2025-09-21 14:31:13 -05:00
Chad Curtis adeb3bf53f Revert "remove custom id logic"
This reverts commit 588e32a43d.
2025-09-20 06:57:24 +00:00
Chad Curtis 588e32a43d remove custom id logic 2025-09-20 06:52:47 +00:00
Chad Curtis f4ccc2d924 refactors 2025-09-20 05:47:17 +00:00
Chad Curtis 6f4aa264eb merge in from upstream and resolve conflict 2025-09-20 03:55:34 +00:00
Alex Gleason 772a2f424b Refactor code to use our custom Git class 2025-09-14 16:26:37 -05:00
Alex Gleason 04f81a3375 iframe-fetch-client: encode body as base64 text (to make binary files work) 2025-09-13 22:01:19 -05:00
Alex Gleason e6864cf8f3 Clone full repo history, except when cloning a stack (for a new project) 2025-09-13 14:18:28 -05:00
Alex Gleason c74edebc1b Use mkstack from gitlab 2025-09-10 11:39:11 -05:00
Alex Gleason 85f71fd00a Remove README.md and reinitialize git after cloning stack 2025-09-08 13:50:30 -05:00
Alex Gleason 53e07d1f26 Fix the behavior of the create project textarea 2025-08-25 16:59:51 -05:00
Alex Gleason 5350506a89 DotAI: addToHistory -> setHistory 2025-08-24 16:53:48 -05:00
Alex Gleason 5d11f51e05 Rip out the streaming chat code 2025-08-24 14:18:01 -05:00
Alex Gleason 4df17bc17e Add DotAI class 2025-08-23 01:24:13 -05:00
Alex Gleason c9214b5535 Allow cloning from GitHub/GitLab with corsProxy 2025-08-20 14:49:11 -05:00
Alex Gleason cfdd412546 Add clone repo page, fix deleting a local repo directory 2025-08-20 14:34:28 -05:00
Alex Gleason 82daf4044b mkstack builds with esbuild 2025-08-11 13:15:08 -08:00
Alex Gleason 2e2ba2be58 Preserve original project names 2025-07-30 22:07:41 -05:00
Alex Gleason 1890a22efe Remove createdAt from Project interface 2025-07-30 21:52:15 -05:00
Alex Gleason 202b61ec2e Get rid of project.json files 2025-07-30 21:46:31 -05:00
Alex Gleason aba494e6b9 Show all directories under /projects 2025-07-30 15:40:07 -05:00
Alex Gleason 56863d5672 Add Nostr repos list 2025-07-30 15:01:59 -05:00
Alex Gleason 4bdb25b687 Simplify project metadata 2025-07-26 18:10:48 -05:00
Alex Gleason 477d59d271 Don't add random characters to project names. Increment if repeated 2025-07-25 20:17:45 -05:00
Chad Curtis f58bc266d6 baseline style v2 2025-07-21 01:50:10 +00:00
Alex Gleason a7d44e7ec5 .project.json -> .git/project.json 2025-07-20 17:43:25 -05:00
Alex Gleason 3bf924ef3a fs.ts -> ProjectsManager.ts 2025-07-20 17:22:28 -05:00