Chris Holland
Chris Holland
If anything, removal should confirm to flagging rather than the other way around. That way it's just a boolean on off to undo a removal.
https://openuserjs.org/users/Zren/github/repos?user=OpenUserJS https://openuserjs.org/users/Zren/github/repo?user=OpenUserJs&repo=OpenUserJS.org https://openuserjs.org/libs/Zren/jquery-1.10.2.min Nope. We just don't document those query parameters, which I guess is the same thing from a user's prospective.
Probably need to also test the import pages with a user that isn't authed with GitHub. We can add a GET form with an `` box on the "Not Authed...
We don't even need a user to auth to GitHub if we have an input box. All we do when the user is authed is find out their ghUsername. Edit:...
Hmmm. It stores fine, it must be somewhere in the rendering. https://openuserjs.org/admin/json?model=Script&id=537812c3fb78e9000055d860 Examples\r\n\r\n``` json\r\n{\r\n \"Monkey Barrel\": [\r\n \"/scripts/show/114843\",\r\n {\r\n \"recent posts\": \"/posts?kind=all\",\r\n \"recent topics\": \"/topics\",\r\n \"recent comments\": \"/comments\",\r\n \"recent images\":...
> were you planning on not using a stream buffer when searching the metadata block(s)? Probably? It was just easier to deal with as a single string than an array...
We're using regex to look things up, so it should be possible. Just means we need to change these regexes a bit. https://github.com/OpenUserJs/OpenUserJS.org/blob/master/libs/modelQuery.js#L46 We're using `\b` - `\b` assert position...
Install name was sometimes used with `.user.js` tacked on at the end. I wanted to differentiate from it. https://github.com/OpenUserJs/OpenUserJS.org/blob/e593ee2a3e7a566721c75ef877002096a83a2faa/controllers/scriptStorage.js#L28 https://github.com/OpenUserJs/OpenUserJS.org/blob/e593ee2a3e7a566721c75ef877002096a83a2faa/controllers/scriptStorage.js#L71 A `slug` is what Discourse used to call a normalized...
I'd use scriptFilename for strings with `user/scriptname.user.js` and scriptSlug for `user/scriptname`.
> btw production appears to be goofed up right now... with CSS at least. :\ Getting > Resource interpreted as Stylesheet but transferred with MIME type text/plain: "https://openuserjs.org/css/common.css". openuserjs.org/:15 >...