-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate @oujs:author
to match current username
#208
Comments
How, if at all, would this affect my script?
|
Great question. Basically from my understanding of this is if EDIT: Ideally See tracked: So I can possibly recommend: // @copyright 2014+, Ryan Chatham (https://github.com/cletusc)
// @supportURL mailto:[email protected] EDIT: Does any user.js engine have |
Yeah it is. I updated one of your test scripts a few days ago (you had me listed as a contributor). |
ahh kewl... good to know. :) |
FWIW, I am using the meanings of many keys as the same as how npm handles people in package.json files:
There is also a cheat sheet from nodejitsu. I consider the JSON-to-userscript-metadata as any string becomes My support url should be as I've defined it--I don't want people sending all of their issues to my email, but I still want my email out there. Edit: Perhaps this might be a key we should keep namespaced to OUJS. If greasyfork implements the same feature, and my username is different from mine here, there will be conflicts. I would prefer Edit: maybe we could set a standard for all engines/wikis out there? package.json seems to be a pretty good starting point. ;) |
Tbh, collaborators should probably be managed similar to groups, rather than reading it off the script itself. |
This is an even better option, IMO. |
Not possibly cross site compatible though... but |
Which is sort of the point. You're already getting into prefixing the tags because a user might not have the same username on all sites implementing it this way. Which sites support this anyways? |
Which is why I mentioned a little while back we should probably support prefixing with metadata keys e.g. as a rough comparison As far as:
key prefixing could help this e.g. See tracked: |
This is originally what I planned, but then I realized that you use these keys to give people credit already. Why not use them for managing collaborative permissions while you're at it? This way users who have permissions to edit a script are automatically credited/documented in the script. Anyway, I'm totally fine with using a prefix if we want to go that way. |
Did anyone want it separated out like I do in installWith and Count Issues e.g.
That's was a great idea and I'd give it a +1 in retrospect... everyone likes attribution. :) Just needs a prefix ... so I'm +1 for that. |
I prefer the former as well. |
I'll prefer the former and have it prefixed under |
Thanks.
None yet that I know of but #96 and #77 could be used in concert with these issues rather than have a bazillion settings to manage on all the sites... just have @JasonBarnabe declare what he wants for a prefix and we'll use it... within JavaScript identifier naming guidelines of course to maintain dot object notation. e.g. no dashes or pluses etc. GM and google already broke this naming rule with The remainder of @OpenUserJs/admin should vote on prefixing vs groups too. Sizzle does have the final word because he's footing the hosting bills but we need not be divided on this since it's a fairly doable thing either way. This is the second issue I've had to mention prefixing so it's starting to become a necessity I think. |
`@copyright` handling Merging so working on this twice doesn't happen depending on the results of #208.. .going to automerge another one with "flux" on `@collaborator` and `@author` on the Add Scripts page... need this one finalized though.
…ging * Some of the classes don't exist yet that are used and I did change it from `active` to `inactive` just to denote the eventual styling. Applies to OpenUserJS#208
I don't have any Greasy-Fork-specific keys and don't plan on adding any, but if you need to know what I'd prefix them with if I ever use them, it would be |
greasyfork-org/greasyfork#145 (comment)
Thanks JasonBarnabe from GF greasyfork-org/greasyfork#145 (comment)
Thanks arantius from GM greasyfork-org/greasyfork#145 (comment)
Thanks derjanb from TM |
* Needs total verification that I haven't missed something. * I do have some redundant tests in for `meta.oujs` existence but I'll remove those on demand. * Hopefully this is everything needed. Applies to OpenUserJS#226 and OpenUserJS#208
… probably stay in there since it's an `||` Applies to OpenUserJS#226 via OpenUserJS#208
* Removed text `Only the author may edit.` from `@author`... that doesn't make sense to me... but did put in `Required to enable Collaboration` change. Applies to OpenUserJS#226 via OpenUserJS#208
* Mentioned in OpenUserJS#226 (comment) Thanks Jerone :) Applies to OpenUserJS#226 via OpenUserJS#208
@author
to match current username@oujs:author
to match current username
@jerone Cc: @arantius I do agree with Anthony saying the context menu should not be submenu'd... I have a bazillion add-ons and user.js at times and things get really slow even on newer computers... this includes DnD being super slow and more difficult to maintain especially since there is execution order sorting. See also: |
I have... when another script creates a DOM element that I am expecting to be there to reference off of... sizzlemctwizzle wrote:Marti wrote: I'm still +1, for what it's worth, on the greasemonkey/greasemonkey#1861 but with the standardization Anthony instructed me about using last values as primary... was in reference to
|
I use an "exponential"
Passing a string into |
Good point... should our STYLEGUIDE.md #19 reflect this rather than being vague? We can still restrict any usage of it. I personally try to avoid it at all costs.
Problem is that will generate more noise to signal with issues... even with UCF and Spam Zapper I didn't find that issue without reordering... asking a user/author to manually check their config.xml and change the order doesn't seem like a good idea. Unfortunately the state of the art system for OUJS dev testing (less than a few months old) still is sluggish in the AOM... probably a Fx issue since it's not present in SM... and submenuing makes it slower with user experience.
Hopefully it's running in the right context from the Sandbox too... last check I did a few months back it wasn't... it was detached in a special zone under |
I'd argue there is no good reason to use it in Node.js. If you're trying to force some function to run asynchronously use As for client-side... |
...of course, client-side only. We should know (relatively) where everything is running in node and/or use the methods you linked. 😄 |
In UCF's case it was initially waiting for something to not occur... until I fixed your source with the
Noted... I'll emphasize it next round of doc updates if it doesn't get in there before. Thanks guys. :) |
* Almost verbatim copied from sizzle Applies to OpenUserJS#245 and OpenUserJS#19 and recomendend at OpenUserJS#208 (comment)
Applies to OpenUserJS#208 and implemented in OpenUserJS#245
Hmmm... this appears at first glance to have fixed itself with the recent mods... will recheck (all publishing methods) and close if there is no way of reproducing.
|
Currently any username can be put in and allows any
@collaborator
s to show up.EDIT: Also shows "Submit Code" on Source Code page... although it does 404 when tried to commit. I think this is a good thing although should fail more gracefully.
EDIT: Changed keyname in the subject to our current supported instead of
@author
.EDIT: Maybe find script in
@oujs:author
's list... if not present disable and/or prevent uploading.The text was updated successfully, but these errors were encountered: