-
Posts
1,496 -
Joined
-
Last visited
-
Days Won
21
Everything posted by elabx
-
No! they would hold the placeholder reference! Something like <script src="{APACHE_SCP_NONCE}"> Then swapped by apache right before delivery.
-
Apache just does it faster from what I remember.
-
I forgot there was one more complexity, which is actually adding the nonce to the response. I remember doing it with mod_substitute and there seems to be an easier way using Apache SSI. Can't remember if I actually tried SSI.
-
I solved this once for frontend usage using mod_cspnonce, which created the nonces per request right on Apache. This way I was able to keep using ProCache and not having to manage a CSP list in the header. I guess that for ProcessWire admin purposes, hashes implementation could work better? Also there's the caveat of scripts that generate other scripts, like GTM, which need a special implementations: https://developers.google.com/tag-platform/security/guides/csp
-
I changed the module name on github and that seems to have messed something up since I cannot add the module to the module's directory 🤔 At least that's what it seems since it's the only different thing I've made that's different from other modules I have published. Anyone know if this could be an issue? Thanks!
-
E-commerce recommendations with ProcessWire in 2026?
elabx replied to ai_slop's topic in Getting Started
I'm still a big fan of using Shopify and now with web components it's even nicer to integrate the look and feel of your site into the whole layout of the booking widget. -
REALLY interesting, thanks for chiming in. Where is this Allegretto plan explained I can only find https://platform.moonshot.ai/docs/pricing/chat#concepts Am I even talling about the same thing?
-
Is anyone going the way of SpecKit, BMAD, Opensec, superpowers?
-
Around 100-150 USD on cursor, on the 20 plan, and also probably wasting a lot of money too since I pay OpenAI (like their webUI), gemini (hate their web UI but I like their deep research and images) and now Claude. Probably have to spin one of the agents to make me a reasonable budget or I'll go broke. Anyone tried Kimi? Getting very good impressions from peers.
-
Used Cursor for a few months! Now using Claude inside Cursor lol Why? To be honest sometimes it's difficult to actually grasp and put into words, but I'd just say I go with "feel" and right now Opus just feel really nice. Also in general in any AI tool what's invaluable now is using MCPs: Figma, Notion, Gitlab, Chrome. Testing using ddev-claude-code as of today to just let it run wild in docker. Question for ddev users, anyone found a projects that lets you manage multiple worktrees of the same project? But at the same time, copies anything related to the php project? For example in case of processwire, the site/files. And override the ddev name, do to; site-dev1.ddev.site, site-dev2.ddev.site. Every undocumented AI agent doesn't catch FieldtypeOptions field evaluates "truthy" you gotta check $field->id 🤣. Maybe I should definitely find a way to include something like context7 but I do fear prompt injection (aha, but let claude run wild on its own? haha). To be honest, it now always feels what "doesn't work" are always my own boundaries of time and multitask lol I am making a ProcessWire MCP inspired by the threads around and I think it could be very valuable but for now having AI executing script through the CLI in ddev is also amazing and just gets me there, of course using the one and only RockMigrations. An maybe an effort that is not about my docs, but my customer docs, is a skill that makes a documentation site for the specific processwire installs in Notion pages. What an insane amount of module development is being done now right?!
-
AMAZING! Ver interesting idea! Although in general I've always though of this The Media Library of ProcessWire as it's own Inputfield/Process module combo! Second thing, from what I'm understanding, if you'd want to reuse an image in two pages you'd still get two copies right?? Have you thought of using something like flysystem and possibility to have buckets/containers of media . This idea pretty much comes from what I've seen a lot in other CMSs! Maybe there could even be a ProcessWire adapter? So that in instantly catches up on the ProcessWire file structure? Just wishful thinking though! Question, is the UI built with UIKit? UI wise, in general I really like what I see! For sure there's details I would leave out of the first screen, but whatever, not sure it's the moment to comment on small details! Would gladly pay for this module but would also wish it to be open source so that it can be picked up if for some reason dev momentum gets stalled, life happens!
-
I normally increate the max_input_vars value but I understand you might not have access to that. Although I find it weird that the modules uses so many input variables to backup the database. Maybe you can try Adminer through TracyDebugger?
-
Main Admin Modules pages are blank since upgrade to 3.0.255?
elabx replied to sjohnson's topic in General Support
Download latest dev: https://github.com/processwire/processwire-issues/issues/2181 -
[WIP] Cursor MCP to Processwire (incl. new UI option)
elabx replied to Peter Knight's topic in Module/Plugin Development
Amazing! Definitely needed, will you release this as open source? Was about to put my hand into building something like this. -
Warning, this module is "vibe coded" and still lightly tested by me, but planning on launching it into production soon. Please test with caution. Think it should be something pretty useful? Sometimes I have options that would be better shown as images/labels, this sets a new Fieldtype that can be used with to new Inputfields that render either checkboxes or radio but tons. https://github.com/elabx/InputfieldRadiosImageLabel You should be able to change the type of any FiletypeOptions to this field and its data should stay consistent. Also inspired by @kixe's FieldtypeSelectColorOptions
-
On the contrary, I'd call your version a proper release, thanks in return! What are you building with Alpine if it's possible to share? The only thing i've built is FieldtypeRecurringDates
-
Ah meant more in a "github" kinda release.
-
Would you happen to know that's the proper way to mark a release now??
-
Yes of course, let's do a pull request! I've just been running on this version non-stop lol
-
That definitely looks like CSS is missing to get loaded on the first screenshot, how is it being loaded? Is this a 3rd party module?
-
link to parent in backend leads to list overview instead of actual parent
elabx replied to joe_g's topic in General Support
Maybe hooking into ProcesPageEdit and edit there the breadcrumbs? Seems like ProcessPageEdit has the breadcrumbs as a property. $wire->addHookBefore("ProcessPageEdit::execute", function($e){ $found = $e->object->breadcrumbs->findOne("title=Some title"); if ($found) { // update it } }); -
ddev import-db < ~/dumps/site.sql Have RockMigrations installed and turn on files on demand in RockMigrations: https://github.com/baumrock/RockMigrations?tab=readme-ov-file#files-on-demand after this, images on image fields will download when visiting the pages. I also have a a couple ddev hooks that trigger "site/templates/cli" scripts that do things like turning off ProCache, maybe clearing $cache if required for some particular module, turn off Mailgun, etc.