#hangar-dev
1 messages · Page 8 of 1
lemme try
"Found a duplicate file in project. Plugin files may only be uploaded once."
When uploading the file, before even being able to select the channel
I see
also, this needs a "back" button somewhere. I should probably make a list of issues somewhere lol
(dont ask why i have an emu war tab open)
so we wanna make sure the duplicate check doesn't consider deleted stuff
Yep, that would make sense. Its not really a duplicate anyways when the other version was deleted
Ok, so for deleting versions, I see no reason why versions with new visibility can’t be hard deleted by the project owner
Is there a reason why any version can’t be hard deleted? Cause if it’s not hard deleted, you can’t use that version name or the same file again.
for modz to view potentially reported stuff or something?
well, user uploads malicious stuff, other user downloads, reports, owner deletes before staff can take a look and gets away with it
Yeah, that’s right. Well I guess we have to make everything about a version editable then.
Release channel, dependencies, name, etc.
So there’s never a need to delete/re upload.
That would be more userfriendly anyways
I wouldn't let people edit the used channel, since that's the one thing that isn't visual only
lets just exclude the version if its marked as deleted from the uniqueness check
I think the uniqueness check is done on the db table right?
A unique key with project id and version string?
Could then add a check when restoring a version to make sure another non-deleted version with the same name doesn’t already exist
is the email confirmation setup yet?
mini gets the emails
ah
:D
I have no clue where the fuck uploaded stuff is stored on staging
but its saved somewhere apperently
since its persisted
but there is no volume?!
your compose file creates a upload volume or not
ah there was one before but it was not bound
yeah it was weird
but for some reason downloads worked
idk
now its looks like I expect it do to and icons seem to work
soooo 🤷
Perhaps the default project icon shouldn’t be owners pfp?
Might confuse some people? Idk.
Default should be that one icon where it's just the first letter of the project name
no idea how that works, that's all done via hangarauth for users pfps
Oh so project icons are persistent now?
yeah, apparently staging wasn't setup to save them or something
I'm guessing that means the jar's probably didn't persist either?
if any were uploaded, idk
im thinking this maybe
sounds good
I'd also have some info text saying "Upload your first version by clicking the upload button on the right!" (or any sort of marker) so that you don't just have << 1 >> without anything else in the middle
when did you upload that? mini changed something to storage
yeah, that stuff didn't persist cause a docker volume wasn't setup correctly. I think mini only changed it a few hours ago
right, mini fixed it a few hours ago, so everything before that was lost
project icons, jars, etc.
rip
F
works fine on local dev cause it uses a different docker-compose file, so this would only have been caught in staging
imagine this happens on production
well rn, there is no production, staging is the "production" for now
Glad to see the forward progress 😄
I am not sure how the fuck downloads persisted before
Magic
we could add the visibility to that
@pallid yoke
don't think that would work right? cause then you could have a new version, and a public version with the same name
Yeah that's what I thought later too
500 commits, great work guys!
Most of the props are for MM, I just layed the ground work and vanished, lol
I wish I could help but it got to a state where the point of entry got too high for the free-time I had
I disagree, now that everything is "done", the barrier of entry to do a small change or fix is lower since everything is in place
Ah, cool
I just stick to reporting issues so someone else can fix them 
report ur existence
Wtf rude. Plz no bully in #hangar-dev
😳
I just stick to reporting issues so someone else can fix them :WolfKek1:
Thats prolly the most helpful thing to do
Cause God nows am too blind to see issues
After looking at this for months
Also, if we got proper web designers in here that can help with making stuff look nice and stuff, that would be cool
Dont even need to be contributing code, just "hey, this looks bad, how about smth like this?" Helps
Also general UX stuff
We want this to be actually nice to use
We don't just want to have some dum replacement for spigot, we want to build an actual platform that you actually want to use
can you upload to ore, or, just sticking to 3rd party?
Hangar can either host your crappy plugins or you can host then on like github releases and link it in hangar
Whatever you want
Sane with dependencies, you can either link a hangar project as dependency or link to some other url
maven/gradle plugin wen
That's something I want to enforce, yes
A think sponge actually has a plugin cat, would be easy to fork
But ye, there's an upload api so that's easily possible
poG
Yea, I know, it's just more fun to make your life hell
I also saw that there is no download api in the documented api yet, I need to move that tomorrow
Left some Todo on that today
Oh and chew, since you played with the api already, did you use authentication?
Since I wasn't sure if that works and I saw a Todo that didn't make too much sense
Call authenticate and get a key, then call projects
Which works, thankfully
Though if there's an API key somewhere that would be a lot better
Your code is fine, you basically anonymous
You can generate a key for your user I think
Am go sleep now, I'll look at stuff tomorrow
nighty
be gone
@narrow verge The bot is really cool! Where can I add suggestions? (Sorry for the ping)
Aight - had absolutely no idea where to post
So yeah, atm @narrow verge you can put whatever link you want when posting a version. Doesn’t have to be direct link to jar.
But I’m not sure we should enforce that is has to be a jar.
Because one of the points of allowing external links, was so someone could link to a gh release that has multiple jars for different versions or smth
what about plugins like essx
You can upload zips
I actually have no clue what happens currently if you upload the Essx zip. I’ll mess with that today.
Also @pallid yoke I was thinking about how the upload api was gonna work with all the dependency stuff we added.
Should part of the upload request require all that info be sent with the file/link? OR should we basically have documentation on like a hangar.yml that’s in the file that has that info.
I really like the idea of adding a hangar section to the plugin.yml
but we should also allow to make that work via the request I guess
Well can’t be plugin.yml
why not?
Cause that doesn’t exist for all plugins
Like velocity plugins
Or bungee that uses bungee.yml
well, could do it per platform I then
having it in the proper file is nicer than having a new file I would argue
especially since like, we dont wanna force yaml on velocity ppl ^^
Yeah ok. I guess each platform does have different dependencies too.
So if we did have a separate file, it’d have to have different sections for each platform
yeah that too
Then what should be part of that section?
Supported versions, probably a list of strings
Mapping dependencies to either a project or a link.
Don’t need to worry about if the dependency is required or not, that’s already taken care of. How should it be linked to a hangar project? Just “Author/Project”?
Can probably use this section in manual uploads as well to fill out more info on dependencies. But it’s not required for manual uploads.
yeah
k, I think we probably need to go through the project and make sure all links are url encoded, specifically ones that use a project slug, or owner name or something like that. cause those can probably include characters that would throw off the link right?
arent project name and author name already validated?
does that validation include removing those chars?
I dont see where it is. its checked against the max length, and has consecutive spaces removed
but I think you can have a project name be ?&/\_
yeah I never check the content of the check
I assume that would mess something up somewhere
brackets should be fine to allow
use the description for bullshit like that
have you looked at spigot in the past few days
but we'd need to check that for project names and version names as well
name = plugin.yml name
treat the slug and project title seperatly?
oh right, the slug is the only thing that needs to be url encoded
literally every premium plugin has a bunch of special characters and shit in the title
you want mcMMO to match up to mcMMO, etc
and thats a separate column in the db
but there is no slug column for version name
we have no title. we have a project name, which is a slug and also the plugin.yml name
if you wanna do emoji and shit, use that description field
bigger text better text
can i make the font size of the description 40
on your personal machine, yes 🙂
just make some custom styles for it
should give you the high you need from seeing obnoxious names 😛
how am I supposed to attract customers if I can't spam size 20 emojis in the plugin title
kek we have an xss
lemme repro on ore 😂
ore is safe, so thats good
why does it work for us tho
I thought freemarker would prevent that
fixed
but now more stuff broke
thats a big boi commit
pls test
most of that was done with a structural replace, so it might have gotten stuff wrong
basically function > macro
The bot is really cool! Where can I add suggestions? (Sorry for the ping)
@Simon.#4921 issue section or on the server, link is in the readme
and
- <#assign support>${p.project.support}</#assign>
+ <#assign support=p.project.support />
Oh they left
i created a project name with a . in it and... https://i.imgur.com/D4z8XIG.png
can you open an issue for "sanitize project, org and user names" pls?
am on the run now
its looking for the file Cool-.txt-file lol
no its just the regex breaking
ah
but point is, we dont want to allow such names in the first place
can you open an issue for "sanitize project, org and user names" pls?
me? or someone else?
yes pls
you, or someone else
@carmine steeple issue section or on the server, link is in the readme
Thanks!
done
Ty
np
org creation no worky 👀
Open issue pls so I can take a look tmr
i can do it rq if you need
Also staff and authors page seem to error and the bbcode convert endpoint is giving me a 500
@narrow verge do you mean ping me or submit an issue 👀
ok, so what characters should be allowed in a project name? a-zA-Z0-9-_ and...
Probably just those tbh
That sounds fine for now
no
No
or periods? for Epic Plugin 3.0
Bukkit allows ()[]
Not sure about {}
Although Bukkit also has separate project titles to slugs
private static final Pattern VALID_NAME = Pattern.compile("^[A-Za-z0-9 _.-]+$");
I'd argue for the nature of dependency matching,etc, it should stick to being bukkit formatted
oop and underscore
if plugins want pretty names, they can do that in the desc, or, should be treat sepereatly from the actual name, akin to a display name
that's what I thought as well
Nah I mean bukkit
I agree with cat, let's do bukkit for now and tell ppl to use the desc, if they complain we can add a seperate display name later
^
ok, what's bukkit accept?
private static final Pattern VALID_NAME = Pattern.compile("^[A-Za-z0-9 _.-]+$");
Yeah remove that
unless we url encode the slug
so no underscore then
either way it doesnt work
Maybe that doesn't work with new tab
yeah so should it just close the tab then?
Won't work on a new tab as there's nothing to go back to, so, yea, closing would be the only real option there
I mean, I'd argue though, does it need a new tab by default?
Yeah so choices really are no new tab (if you want one just right click > new tab) or close tab on go back
if latter, maybe say "Cancel" instead
I've done the former in #222, up to you guys which one you want to go for
||totally bc I feel bad about not contributing in forever and not because hacktoberfest ends today||
ive done like one pr, i missed my chance 😂
never too late to PR to the drama generator
oof
Oh I forgot about that
huh, the staff/author pages don't error for me on local
but this does https://hangar.minidigger.me/staff
https://github.com/pulls?q=is%3Aopen+is%3Apr+author%3AChew+archived%3Afalse
I've got some PRs cooking
TIL you can use that PR page to see other people's PRs
I need to look into giving you log access jake
works for issues too 😄
that would be pretty nice
I think portainer supports role based access control
fancy
How do I get the tps in a variable?
oops
@pallid yoke is that what was causing the error on staging?
yes...
Why wasn’t it erroring on local then?
if you mix casing it freaks out
it did for me
maybe you didn't pull my giant output format change commit?
Oh you know, I bet that’s it
or it didn't properly update templates
Yeah, I was working on the review vue templates and hasn’t rebased yet
yeah that commit introduced it because I added <#outputformat> to a file that had startsWith
and not starts_with
What’s the purpose of outputformat “JavaScript”? Free marker docs says that doesnt escape anything
hey guys, what is hangar?
Oooo, cool
I could have entered plain text too
But it's more concrete that was and we could use that to do stuff in the future if needed
@main lava it uses spring boot, freemarker and Vue.js
neat
Oh and Jake, I had to add it because it was escaping stuff in some places which broke stuff
But thanks to the forced output format everywhere now, we are safe against xss
At least I am unable to xss now in the places I tried
Oh yeah, ok I get that now.
@modest forge do you happen to know where in hangarauth the username is validated?
cause we need to prevent bad characters in that as well
same as projects probably a-zA-Z0-9-_
I took a look before and didn't see it
there's something preventing you from creating orgs with more than numbers, letters, and underscores
and that's on the hangarauth side
ahha, yeah, there is validation on the User db model
spongeauth/accounts/models.py line 20
[^\w.-] one of the checks is if a match is found, throw error
that would allow . in usernames right?
Yes that's stupid and there is a pr for removing that
But I've never merged it lol
Btw the docker stuff you have for auth is not production ready, it's using the dev sever. I hope you know that
not sure I follow.
if you are talking about the docker stuff in the HangarAuth repo, I don't think that's actually used anywhere
Ah k
well the Dockerfile is, the docker-compose.yml is not
K but than it's not production ready
Cause it starts the dev server in the entry point on the repo
Yeah yeah I know that that's all wonky
It's good enough right now and we will figure it out later (potentially ~ annoying ~ asking you guys)
Idk how strike thru works
double ~
two ~
I had that and edited it out
any content between opening and closing ~~ should work... unlike markdown, which won't render ~~hello ~~ striked through with that trailing space
so I had to watch out for that in the converter as well, cause the stupid editor loves its [b]hello [/b] tags and similar :>
so https://github.com/PaperMC/Hangar/issues/214 are we sure thats fixed because Prism Icon reset again and even better for some reason its now on the TestProject
did you set the icon after mini fixed the issue?
any jar/image files from before that, were not saved
I just did it - I didnt realize fixes had been applied because the issues are not being linked to commits..
ie Gitlab > github
well gh only links them if you mention in the commit message that this commit fixes #214 or something similar
yep I know - I just assumed the fix wasnt code based from the issue
all good seems fixed 🙂
is there a gradle plugin for api based uploading yet?
ore has something like that iirc. afaik, none of us have touched that yet
I have no clue how that works right now
but the hangar api is pretty similar to Ore so that might be a good starting point
there is an api endpoint for deploying a version. but its the last api endpoint that has yet to be actually written
thats ok I was just going to see If I could develop a maven deploy plugin that mimics the gradle one
it gets a little more complex because of how hangar has expanded the dependencies. We talked about adding a section to the plugin.yml/bungee.yml/velocity.json files to configure dependencies inside the jar.
cause now, when you upload a version manually, you can set the supported versions and whatnot, but when doing that from the api, somehow that info needs to get to the server. Either additional params on the POST request, or additions to the various config files
yep and it could work nicely with Demonwavs intellij plugin that adds that automagically
I thought i looked at the api and it could take version details etc with the upload
obviously not dependency stuff yet - becuase thats new
yeah, there is basic stuff with the upload
like description and stuff, but for dependencies, it gets more complicated
they are per-platform and are either linked to a hangar project or an external link
of course particularly when we want to link existing hangar plugions
ok, shouldn't run into any more bad project/page/version/user/organization names
still need to figure out what to do with deleted versions...
yeah the naming conflict
is there a definite requirement that the version name must be unique? like it is currently?
yeah, I mean the version name is used in the url
so you couldn't really have two with the same name
Do you think that might be limiting long term.
I hadn't really thought about it at all. This was just taken directly from ore
I mean even from the point of view of a plugin name - DBO moved it an Id system pretty bloody quickly as has Bstats for that same problem
not that I think you want multiple plugins with the same name
but even if you think about some annoying person creating multiple projects with various names ...that never get approved...but by thier existence prevent a legitimate project with that name every existing -
multiple projects can have the same name
just two projects from the same author cant have the same name
which is totally fine, I dont see any problem with that, but maybe we do have to switch to using the db id for versions
I dont think hangar should be the place I would ever deploy snapshots but lets say we get a plugin that can autodeploy on build - and its autodeploying snapshots - I can imagine the technicality of it searching for an existing version with the same name then uploading a new file - v uploading a new version with the same version snaphot name - I mean again probably something that just gets decided at the outset what the hangar team wants
dependabot monday woo
(At least a few of us already said) we don’t want people to use hangar to permanently spam (dev) builds, so there will likely be a sane max versions to release a day
but files with the same name should be made possible, since we still want people to be able to upload dev builds and such in general. A search could either return a list or just a single entry, being the last to be released (both regarding api and separate url calls aside from the version id?)
Yeah, so if we want versions with the same name, we need a new identifier
For some reason I feel like “Machine/EpicProject/versions/347” doesn’t look as nice as “Machine/EpicProject/versions/1.6.1”
Maybe the url should be a combination of the version string and the ID?
I would actually allow both of these
tho maybe as different parameters, so you can set either one (instead of us figuring out which one it is from versions/...)
but eh, not 100% sure what's the best way of dealing with it
yeah I suppose 3.0-SNAPSHOT.347 or similar would look good as well
yeah, I think that'll be good. Will completely fix the deleted version issue
Could not resolve placeholder 'hangar.projects.name-regex' in value "#{T(java.util.regex.Pattern).compile(${hangar.projects.name-regex})}"
@random badger mini say broke and not epic
That's on staging, gotta define the pattern in a yml or add a default value
if your going to go with 3.0-SNAPSHOT.347 why not 3.0-SNAPSHOT-347 which is consistent with Maven versioning
I always do major.minor.patch_build
pretty sure maven itself does not care at all what you put in there
now whether you can get that published in the global repo ehhhh I doubt it
generally don't want build numbers in there if that's what you're doing
last I checked global repo only allows releases.
kenny was referring to SemVer I think
but as I understand it SemVer does not actually validate SNAPSHOT at all
Oh yeah, for published things I just drop the _build
builds are just that: dev builds
Bad gateway atm, server down?
That's on staging, gotta define the pattern in a yml or add a default value
@pallid yoke if this wasn't fixed then yes
oh yeah, I totally forgot about that
yeah, should be fixed now @narrow verge
Sweet
Not build numbers, adding an ID to the URL for versions
IMO it shouldn't be made to look like a Maven version because the ID isn't actually part of the version name
So I'd say version_name.version_id is fine
Yeah sorry didn't had time to fix stuff either yesterday
Looking back at that message it sounded like I was blaming jake for breaking it and for not fixing it
I mean, he is to blame, buuuut you get what I mean 😂
a really stupid question, what exactly is this?
a plugin repository, yes, but what can i do with it?
java in web is pretty huge lol
a really stupid question, what exactly is this?
@main lava its like spigotmc, but way better.
that sounds really good
Did you guys add spoilers already?
No i asked if i should do that, but noone answered...
To that question
I can do that if you want
@pallid yoke
Yes pls do, as you can see stuff gets lost
Rather open an issue too much than having something lost
(I do that wrong too as you see by scrolling a few messages up......)
Yeah im fine. This is a huge project and all of you got a lot to do. I will open an issue once im back at my pc.
Thanks :)
poggers, this sounds interesting.
it doesn't
Gh flavored markdown has
And I am somewhat sure our markdown parser supports that
Behind some options or whatever
how would it look like?
Like on GitHub hopefully ^^
I don't remember
https://github.com/vsch/flexmark-java is what we use
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules. - vs...
gotta read into it
It seems to support bunch of stuff
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules. - vs...
This is our code
That has something that looks like a spoiler
Details extension
That will most likely require a bit of style work but that looks like
Ah nice the extension ships the js/css
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules. - vs...
I like
If you create a ticket, and add that link so it's not getting lost, I can hopefully look at in in a few hours
ok
@pallid yoke https://github.com/PaperMC/Hangar/issues/229
Oh and like, if you see anything else on the pages above that you like, add it there too
ok should i edit my message or comment under it?
It supports unicode pretty sure
theres all this emojis that can be used: https://www.webfx.com/tools/emoji-cheat-sheet/
through a addon
so its like github does it
So you mean the : notation?
yes
Seems fair to add
all of those would have to be integrated into the forums as well
since threads are created on there
Ah yes
hmm ok so the gfm-users extension would be great
except... it doesn't like _ in the user...
its not to late to change our regex
runs
ill be unable to look at stuff today, my brain is mush
just watch U.S. election news. really a big stress reliever 😛
so maybe we can write our own extensions
I don't think you can currently have spaces in a username
yeah, its just \w and -
do people want underscores in their name?
dont think so
Ok. So we can get rid of underscores. Then we can add an autocomplete thing when typing after a @. Should be nice.
There’s not a ton of reasons to link users, but I guess it’ll be good to have.
The mentioning will mainly take place on the forum thread.
But my name underscores 😢
is it common that ppl limit underscores?
How is it on Paper forum?
I only know that on GH I have - sign, instead of underscore.
Usually . or _ works.
I was joking btw 😛
I don't like the fact that I have to use - on GH (might need to change nick because of that), but I don't think this is in any way a deal breaker.
I preffer underscore as replacement for space in usernames.
well, we dont need to restrict stuff for no reason
if the pattern wasn't declared final....
I guess if we do implement it ourselves, we can have it only resolve if there is indeed a user with that name
so we don't get links to 404s
Yeah
hmm ok so the gfm-users extension would be great
When is that even useful?
just wondering...
Its a nice thing, but i don't see any useful usecase.
Except in user descriptions or something...
Usernames with underscores a pretty common. It's the least noticeable character that most sites allow. So e.g. if Malfrador was taken, Malfrador_ would be the first name I would try because it looks less bad than the other usually allowed symbols
"pretty common" is tbh based on observations of playernames on my server, but as many people use their Minecraft name elsewhere, this should be an acceptable metric
xXxMalfrador123xXx
Yeah, that looks horrible :D
hey @pallid yoke I think after your output format changes, the rendered markdown no longer is read as HTML, but as plain text
so before vue takes over and replaces it, you see a bunch of ugly html
I thought I fixed that
well maybe its something I did then?
I remember looking at that
hmm yeah, on live it works fine.
no clue what I could've done to cause that tho
didnt think I touched anything anywhere near that
all I was doing was transitioning to the versionname.id thing
which I dont see how that affects this
Me4502 came out against pain and suffering, SpigotMC Resources rages
stolen drama 👀
It's now mine
🌮
🌮
🌮
🌮
🌯
🍍
\🌮
👨🏻🎨
:(

happy dependabot-monday
The sass
The scss
👀
oof, this channel is in window 20 and the irssi quick switcher can only do 19 directly
And I thought irssi was for power users, smh
I mean I can still do /<windownumber> or /go<tab>start typing channel name
I wanna make it so when player runs the cmd a time counter will start, which counts time (HOUR, MINUTE, SECONDS, MILLISECOND)
lol, we are running into the same thing in this channel that sponge deals with in their ore channel. like all the messages in their ore channel that aren't from me are people looking for dev help with sponge
Pretty much lol
Could have a message like #paper-test-builds which tells people "this is for Hangar only"
Hey I'm not expecting people to read it, it just gives us an excuse to yell at people misusing the channel 👀
I yell at ppl whenever I want!
Not sure I’ve seen that one before...
is that a reference
Not exactly a dev question but will Hangar work with forums accounts when it launches or will it have a dedicated system?
We're currently building it to use a custom auth system (originally developed by Sponge) that's designed to integrate directly into Discourse
Chances are, when we get closer to launch, forum accounts will probably get migrated over to hangarauth, but I can't confirm that for sure as I don't believe that's really been discussed/decided on yet
So HangarAuth will be a SSO for Forums and Hangar?
Yes, hopefully
rev up those fryers
yep, always glad to get my monday reminder courtesy of dependabot
Notice how the spring boot PR doesn't have the release suffix
Yeah, but the release suffix is specified in semver as well.
https://semver.org/
<valid semver> ::= <version core> | <version core> "-" <pre-release> | <version core> "+" <build> | <version core> "-" <pre-release> "+" <build>
Whatever it's stupid and am glad it's gone

😄
It's Dependabot Day again
🥳
Was anything discussed about discussion pages? I only just remembered I had a PR open to use Discourse
Not really, don't remember anything
trust me, if there is a way around it don't touch the discourse api
The Ore template that uses Discourse's built-in embed seemed to function in Hangar with a few changes, but I didn't really test it further
is a Premium or payed Ressource categorie planned?
okay thx
Btc
This is not a marketplace :)
yep same here
i think it will naturally cultivate a far better community than spigotmc's
definitely
i hope it will slowly steer the minecraft (server) community to less toxicity
yeah same, honestly the server community is pretty terrible rn
hopefully hangar will be a step in the right direction
i really like the decision not to do premium, i think spigot's premium section contributes a lot to the toxicity on the platform
since its no longer a place where everyones just making cool shit for the game they love, its basically become a hypercompetitive marketplace in many ways
yep
i wouldn't say the server community as a whole is terrible
there are many bastions of hope, i.e. paper, sponge, syscraft, etc
yea
all places with very cool people who are pushing the game forward
Official Minecraft in opensource would be really great

Minecraft is open source enough nowadays
yeah fr lol
honestly i never thought about it but yeah for the best selling game of all time minecraft is surprisingly open for modders n shit
We literally have the full mappings with a rather permissive licence now
shouldve said check the pins
to what?
check the pins
Mandatory source link on plugin pages? 😄
Thx for your contribution.
any time
😂
requiring would be a bit much, sadly, but things like obfuscated resources (and maybe resources with no source provided as well?) will be marked with some tag saying it's obfuscated (or closed-sourced) :p
Am thinking to do what mojang just did with outdated versions in the launcher
"this reosurce is obfuscated and thus may be unsafe to use, proceed at your own risk"
And tweaking search algos and shit like that
Meh, not necessarily all closed source stuff is obfuscated. Some people just couldn't be bothered (yet) to publish the source.
obviously, those are two different things
no source, obf'd etc, should have that sort of "gentle push" away
Well yes, this would only be applied to obfuscated stuff
Also we would require authors to fill this out and rely on reports to check
And do harsh punishments or smth
GH integration?
at least that's the plan™️
Gh release into hangar release is a plan
Once am done with MiniMessage and paperweight is on track hangar will get more love again
I have the next few Fridays off of work
Sounds handy
I also got 40 hours on my flexible time account
"whatever platform"? any plans for that lol
oof, I was scrolled up
how tf did that happen
prob cause discord > irc 😝
😡
My question was basically a sneakier "How honest do you plan to be about GPL obligations?" 😛
(acknowledging that the platform could have non-bukkit-based stuff, which obviously doesn't have that issue)
sulks in the corner
forcing everyone on the platform to be GPL compliant is a giant and unrealistic hassle that isnt going to happen
I'll start demanding royalty checks from md_5 and we'll see how it goes. 😛
enforcing some sanity and pushing people towards open source is certainly a noble goal however
Keep us updated ^^
we were kind of memeing a bit about what could happen there but I think we're a bit off from that anyway
stuff like ugly warnings, deprioritizing search results if there are multiple, etc
covering non open source plugin pages with ads for open source alternatives.... 😈
Motivate by requiring non-open source projects to submit gpg signatures for all uploads
"you must sit through this 45 minute video where mbaxter tells you what youre doing is wrong and makes him sad"
did ore require them initially?
"There will be a quiz at the end"
Signatures were our solution to the legitimate problem on BukkitDev of accounts of major projects getting hacked and malicious software being uploaded. It's a thing that happened, so we thought requiring signatures (which seriously takes like 10 minutes to set up, once, and then never needs touching again) wouldn't be that bad. We were very wrong.
Expecting users to do anything beyond the bare minimum? 😄
You expected people to lift their fingers to prevent an issue they complain/worry about having you solve
Do you wanna guess the percentage of plugins on spigot that don't even use a build tool?
Yeah... it's not a happy percentage.
do you want to guess the percentage that have classes full of those eclipse compiler errors
But: could always add github style verified checkmarks
Same thing with review queues. We made it so that you could still download unreviewed files, which is better than BukkitDev was, but the warning message? People do not like. 😛
I'd 100% set up my signing stuff for plugins if it got me a cute little checkmark.
could also do a user flair if all your projects have source links
At this point for me its as easy as adding a single plugin entry to my pom to start signing.
it would be a nice optional feature, if nothing else
quick, throw more features onto the request pile before mini finishes typing!
Yeah we could add a ton of badges you could wear
"open source enthusiast" -> has more than 5 open source projects
Stupid shit like this
Collect all badges for a badge collector badge
could do total project downloads as a badge too
No we also gonna add bad badges
combined projects have > 100k downloads
"freedom hater" for somebody who has all reosurces obfuscated
is there a reliable way to auto check for obfuscation?
it'd be neat to have an obfuscated badge for projects
ez
But that's solve able by the crowd
Just look for dictionarable terms
ah yes, let the crowd vote if a plugin should get a shame badge
if you have a class without any words in a dictionary, mark it
that'll turn out well
:>)
I would 100% rely on ppls reports for if a plugin is labeled wrong
use a dictionary and a prefix
There are ppl on spigot that check every resource upload
catIsBad = 0
int catIsStupid(int catIsAwful)
Playing cat and mouse game for automated detection isn't worth anybodies time
might need to setup a demo project for that
Ore staged the Vue branch, in case anybody needs inspiration
What is the PROD url for hangar
there is none
there is a section on the forum
Oki
Hangar is not finished yet, that's why there's is no prod url
at some point™️
is mondai boiz
monday funday
“Manic Monday” by The Bangles
Listen to The Bangles: https://TheBangles.lnk.to/listenYD
Subscribe to the official YouTube Channel for The Bangles: https://TheBangles.lnk.to/_subscribeYD
Watch more music videos by The Bangles: https://TheBangles.lnk.to/listenYC/youtube
Follow The Bangles:
Facebook: https://TheBangles.lnk.to/followFI
Instagra...
why do I have a notification in here?
ugh. wish discord would have a way to remove notifications for removed messages
would make deleting pings actually meaningful in those channels that have bots that auto delete pings of staff
automatically
nice song
Question about the API change, is there an endpoint to simply get the latest build for a given version?
without having to enumerate the builds
🙄
hmm ya know, maybe doing what the sponge discord just did wouldn't be a bad idea. having people manually assign a role to see certain channels
with a #roles channel or something
yea that would be neat
ironically would add another channel
right, but the other channels would be hidden until you clicked a reacon to add a role
so it would really reduce channel count for most people I think
@random badger do it.
lol, I can't do it.
:P
.services
.services
?kick @main lava This is not the place for solicitation
ManiaPrison#1718 was kicked | This is not the place for solicitation
damn, some action in #hangar-dev 🙂
lawl
who moved #760946492483043342 above #hangar-dev
Hmmm, yeah. Just noticed that.
Tbh, should be a bannable offense. Moving channels around... 😛
Wonder what day it is...
#760946492483043342 is my only sense of weeks passing
lol
Hmm must be a Wednesday
Guess we need to pick up more activity again to confuse cat ^^
MiniMessage is mostly done and paperweight also doesn't need my attention so I should be able to do stuff this week
Not today tho, am a wreck
did you not do the webpack-cli one cause it looks kinda big?
been sitting there for 22 days now
Yeah I looked into it, I think it breaks smth
It's a breaking major version and we need to make sure all plugins support it
Iirc Vue cli didn't even support it yet
On hold ⏸️
Dependabot got drunk again
((could be a vulnerability fix, those work round the clock))
it is
haha lol
ahh, the start of a new week
who can help with the plugin. I want to differentiate pve pvp. in the center mklenkom will turn off the fire of TNT and pvp. in the second round, pvp without fire and tnt. all behind 2 circles. anarchy. are there plugins that do this? can anyone help develop such a plugin?
Not the channel for it. And no recruiting allowed here - check spigot recruitment forum.
@stiff token I thought the developer team for this. I'm sorry I understood.
This channel is for hangar project. If you want to write plugin on your own - #paper-dev. You should be fine asking if such plugin exists in #general, but I'd recommend asking Google first.
BlackHangar when?
No premium remember? Black market for what 😄
doesnt matter.
👀
we will put free plugins
and inject bitcoin miners into them
ez money
I'll make sure to redirect the pool to my wallet
Crypto integration wen
i came up with the idea i should get at least 75%.. duh
Open source with a publicly listed CI doesn't stop that site from hosting 'leaked' versions of plugins. I'm sure hangar stuff would show up on such a site.
@main lava this is not the place for it.
wat
@slender birch ?
?ban @rotund yarrow Ads
ok guys and girls
I plan to wrap up hangar over xmas
but:
I don't have any clue what needs to be done 😂
so what could go wrong, lol
well there's no shortage of big tasks 😂
pick something of your liking from the to do column (or move stuff around if you think something else should also be done before a release) :p
heh staging is broken big time
vue doesnt build
ah yes, locally maven throw an NPE
lmao
Hey mini, the reason I kept stuff inside the vue html element is so the page wouldn’t be blank when it was being loaded. I see you got rid of that for the settings page?
I think it’s pretty much just the issues we have marked to be done, and then we need people to use the site to find bugs.
I got hella confused before I realized that that was duplicated in Vue
Yeah, there are several situations exactly like that. Where it’s duplicates in vue
We only really need that duplication for SEO, which doesn't matter here, so I don't think it makes sense to duplicate it
Ok
Normally you would use something ppl call skeleton
Like how facebook looks when you has low internet for example
Might be worth to try out
Right, I think I know what that is, bunch of low res boxes or smth
Outlines of where stuff will be
Yeah pretty much
just put a sad cat picture there when the page is not loading
We already have the loader I stole from company
Oh, and we need a logo still 🙂
Unless we want to use chew’s amazing depiction of a hangar.
chew also made one? 😮
something feels... off
https://i.imgur.com/ooApZVD.png
nope, same for me
#blamemini
i even cleared my... wafers
https://i.imgur.com/qxKhQ70.png
^ known
I'll look into it later
I blame dependabot
ah didn't see that lol
Was it my change? Was working for me locally
idk
what did you change
lol
ah the css thing
the error is maximal helpful https://i.imgur.com/eE2HOmD.png
yeah the error is there since that commit
god knows why tho
so for some reason, it looks like the css plugin thingy broke sourcemaps
downgrading to 1.2.0 fixes it
1.3.0 fails
1.2.1 is fine too
so yeah, staging is fixed
🥳
Huh. I didn’t test building locally, just serving.
mini, when you get a chance, you wanna look over that latest pr? It should be the solution to allowing multiple versions in the same project to have the same name
ill tomorrow
he turned into a bot! 😱
beep boop
Mini, do you have your tab size set to 2 spaces somewhere? or is everything supposed to be 2 spaces? or what happened here https://github.com/PaperMC/Hangar/commit/68dc91a8420a246a78ebd00f093ae5aad17a980f#diff-717e6733c9fe4544add002e40aa2c0176108ddcc0c3fa9b99a91c4689f771c98R78
not sure if this is a super hangar-related thing, but i thought it would be best for this to go here
someone should make a "Designed for Paper" badge or something to put on plugin pages
or README.mds, etc
a shields.io badge
for making an account?
yea
umm. somewhere in HangarAuth, lemme find it
I think that's is
yeah, Auth is totally separate from hangar. eventually that auth will take over the forums as the central auth for all things paper
I think its probably something that generates a form based on some inputs?
like I said, this was taken straight from sponge so idk how it works
yeah fair
ok wait one last question, do you know where the translation key is?
that's where the view is used
oh also, I should be able to approve your account. cause the email thing doesn't work
so let me know when you've created your acct
k, dm'd you the link
ty, other question - where do these little descriptions come from https://i.imgur.com/9G2mtPF.png\
i wanna fix the discord one, there's no space after the ?
https://i.imgur.com/7bAANWf.png good job nerds, owned
anyways, thanks
i was super lost
prob cause you don't have https at the start of the url?
huh
here's a video, for the content
looks like any time i submit anything (deleting the two test projects) i get redirected to the http version
yeah, im too tired too look into that. can you make an issue on gh?
yep on it rn actually lol
ooh I wanna help.. if I can lol
i have a few grammar tweaks
just need to fix the commits so i can pr it
eh
ill pr it
I'll honestly be willing to help with anything
check the open issues
monday again woo
If you have time - try anyway. I sometimes spent a few days doing "simple" stuff above my level - that's how you learn a lot :)
Did we ever decide on discourse integration vs building our own comments system?
md keeps getting more hats
this isn't a chit chat channel 
noone really said anything we should do, so probably what's easier™️ now (integrating)
The reactions plugin might work but last I saw it seemed like it was dead, sooo
We'll probably have to live without that for now, then if we want to replace it with our own comments, we can do later
https://github.com/discourse/discourse-reactions
Seems like they started working on an official one but haven't touched it for a while
Hmm maybe Retort is still maintained after all
wuts this
Although, uh, https://github.com/gdpelican/retort/issues/76
but like, a check shouldn't be that hard right? oO
I mean, feel free to dive into the Ruby code if you feel like it
I haven't looked tbh
It doesn't look overly complicated, would probably want to add a before action or something
https://github.com/gdpelican/retort/blob/master/plugin.rb#L30 Should be able to add something here?
wth is discourseeeee
no premium section

