#hangar-dev

1 messages · Page 16 of 1

shy arch
#

I didn’t understand what you guys meant by plugin repertory, is it like spigot’s plugin website where you can download plugin?

random badger
#

Yes but better, and for paper plugins 🙂

shy arch
#

nice

pallid yoke
#

Tbh, I just didn't think about it, I kinda assumed ppl know

#

But announcements reach way more ppl

sly mason
#

We really need a place where we can put just a small bit of info which people can read

pallid yoke
#

A hangar command would be a start too I guess

random badger
#

Yeah, I think like 30 people total know what hangar is

radiant raptor
#

means im special ;)

random badger
#

Well, not great if you want people to use it, but that comes a little later

random badger
pallid yoke
#

No, but we all drafted the announcement in general

random badger
#

The “many people” part was kinda funny to me. We’ve been trying to get it to many people and… no luck so far

#

I think once there’s a legit beta up, that might attract more contributors

pallid yoke
#

Well, there are more than just us two

#

Yeah that too

random badger
sly mason
#

GET TO IT

#

cracks whip

graceful radish
#

Because i can't easily see what the difference would be other than devs having to upload to two different platforms now

pallid yoke
#

Yeah we gonna make like a fancy ass announcement with explanations and the differences and feature and stuff for when we launch beta

#

That's gonna be a good time I guess

#

The main thing @graceful radish: spigot decided to be dicks and ban paper plugins, that's when this all started

graceful radish
#

Ah, spigot being spigot again xD

#

I have mixed feeling about them

#

but i hope you can get hangar up and running, good luck on the project!

pallid yoke
#

Thank you!

hoary prairie
#

I mean spigot oof I saw a thread yesterday about Java 16 and people complaining about the legacy shit

#

And how the API is dinosaur

sly mason
#

Issue is that you do anything and people complain

#

We finally went component first and people started crying

pallid yoke
#

But we just let them cry and most did suck it up just fine

#

And the rest I don't care about really, that's what progress always brings

sly mason
#

The refusal to move the API forward has created a bunch of devs who are scared and even incpable of adopting to change to move forward, one of the most prominent devs in this community literally started asking for a code handout, meanwhile charging people for lessons...

#

But, part of hanger has been a long term desire, just, never been a super imminent "we need it now" until spigot started going against stuff like "this plugin has additional features/performance on paper" messages and in general our desire to split away from the complatency of this API

#

I really can't wait for sane mappings, I have so much shit in my todo list pending on that

sly mason
#

MineAcademy

hoary prairie
#

Lmao

#

Kangarko xD

#

But yeh paper needs to hardfork from spigot

#

To get some real modern API

#

I can finally fully ditch spigot then

meager locust
#

what is hangar

barren shale
#

see the channel description

cedar depot
modest bisonBOT
#

plugins published on spigot need to run on spigot, what a surprise lol

#

it's dev bukkit all over again ¯_(ツ)_/¯

random badger
#

Yeah, I mean it’s not crazy. Plugins that work fine on both are allowed, even ones that only work better on paper iirc, it’s the ones that require paper for all main functionality

woven ridge
#

less so, but also those using paperlib's SuggestPaper functionality

#

but, I mean, makes sense still to a point

modest bisonBOT
#

yeah, even if it wasn't about a competing fork, such advertising would still not fly

random badger
#

Wait, you can’t use paperlib suggest? 👀

modest bisonBOT
#

you cannot advertise ingame or in the console

mellow pebble
ember ivy
#

doesn't Ess do it lol

untold idol
#

:>

#

we don't use the suggestpaper stuff but there is a message which says you're running on a server that has limited api functionality

#

i forget if we link to paper

modest bisonBOT
#

I mean you could just not show the message when downloaded from spigot ¯_(ツ)_/¯

untold idol
#

if they come for support we usually always suggest paper

#

also I think if you actually attempt to use a feature that needs paper we say get paper

modest bisonBOT
#

could just not enable the feature 👀

ember ivy
#

meanwhile on dbo

#

(i think WE/WG still run on craftbukkit tho soooo)

modest bisonBOT
#

yeah, ChestShop does too 👀

#

pretty sure the blocking of fork stuff on dbo ended when the original bukkit team stepped down though

untold idol
#

ess didn't compile against the spigot api until md_5 forced you too too

random badger
#

mini, idk how much thought you've put into cache stuff, but what should make use of springs cache system? cant really do that for anything that changes a model right?

pallid yoke
#

Well, we can invalidate

random badger
#

so is it just for GET stuff?

pallid yoke
#

The getters in the services should be cachables and the other methods most likely need to invalidate

random badger
#

ok, so thats a reason to have methods in various services to update models. can invalidate anytime those are called I would imagine

pallid yoke
#

Yep

#

Which is why in theory no dao should be injected outside of it's "owning" service

#

Cause I am not sure if we can or should have cachables on dao

random badger
#

does that work if the method is called from another member method of the service? I seem to recall seeing somewhere that the cache wont work in that situation

pallid yoke
#

Nah, spring ignores calls to sister methods

#

I think the overhead would be too bad or skrh

random badger
#

ok, so might have to have additional invalidates on other service methods

pallid yoke
#

We also could seperate logic to other classes or smth but that sounds like overkill

random badger
#

yeah, if its just updating, idk if thats needed

pallid yoke
#

And like, we don't even need to cache everything, just like the shit that gets called all the time when you visit pages

random badger
#

yeah, users, projects, pages, versions, project channels

#

I think that's it?

#

the home page

#

oh, I guess can get more specific, like version dependencies and stuff

pallid yoke
#

Permissions for users I guess

random badger
#

is it only declared sister methods? what about ones elsewhere on the inheritance tree?

pallid yoke
#

Uuh

#

I would say also no

random badger
#

Not sure why that latest ci failed

woven ridge
#

github container registry had scheduled maintenance

random badger
#

Mmm ok

cold ridge
#

who are the stargazers?

pallid yoke
#

ppl who clicked "star"

#

exactly how github does it

cold ridge
#

And what are the flags?

pallid yoke
#

flagging a resource or user is basically the same as reporting them

cold ridge
#

like about some bad staff?

pallid yoke
#

yep

cold ridge
#

ok, thx

pallid yoke
#

did something fuck with eslint?

#

like wtf

pallid yoke
#

idk what am doing wrong that the lang doesn't show up

#

like it shows up, but the strings dont

#

heh got it

radiant raptor
#

i wonder when hangar is finished if there'll be a discord bot logging plugin releases/updates

pallid yoke
#

yeah, could be fun, like how we have the forum feed

#

well, actually

#

its technically covered by the forum feed already since hangar releases are posted to a forum section

radiant raptor
#

oh that's neat

pallid yoke
#

if somebody can double check those make sense that would be really appreciated, lol

radiant raptor
#

i could ask a friend ^^

#

if, you know i could see the switcher

pallid yoke
#

footer

radiant raptor
#

ah

#

dum

cold ridge
#

damn, you have so many messages

pallid yoke
#

its a big project ^^

radiant raptor
#

such project, many wow

random badger
#

@pallid yoke how does it work when there’s no equivalent Chinese key, Like if we add a new English one? Does it fall back to English?

pallid yoke
#

Yep

random badger
#

Ok good. Better that than showing the translation key

random badger
#

Speaking of cookies and the locale one, do we need some “agree to cookies” thing?

#

Do we have any non-functional cookies right now?

pallid yoke
#

Maybe just steal what the website has

random badger
#

got this, I imagine this is smth you have to do mini

random badger
#

so uh, can you not actually create an organization on ore?

#

it seems to be broken

pallid yoke
#

Pretty sure we talked about this before and thought no

random badger
#

oh, maybe

pallid yoke
#

Haven't looked into sso yet

pallid yoke
#

Ah yes, it's Monday

deft drift
pallid yoke
#

Drop and recreate the schema in the db

#

There were incompatible changes since you last did so

#

We aren't good at writing migrations yet ^^

deft drift
#

lmao

deft drift
#

did i drop wrong?

pallid yoke
#

Huh

#

I mean, that $user, public looks strange

#

I would expect only public there

deft drift
#

thought so as well

pallid yoke
#

Try deleting that schema again

#

And then manually creating a new schema

#

It's all possible via UI

#

And name the schema public

#

I think $zser, public is your search path and that got flyaway confused

deft drift
#

worked

#

the first it actually started woot

pallid yoke
#

Wooo

random badger
#

The migrations won’t create the public schema. If you delete, you have to recreate it empty afterwards

#

Hey, you know what should take travertines place in the 6 pinned repos for the org…

pallid yoke
#

Heh I'll bring it up

#

Actually, now that am core team, I think I have full org perms ^^

#

Yep I could change it ^^

random badger
#

Yeah, “bring it up”. Hangar has infiltrated the core team, just do it. 😛

pallid yoke
#

But we gotta uphold the myth that paper is a democracy

random badger
#

Ugh, why is it only doing like a few dependabots at a time? I tried finding a setting for it last night, but couldn’t see anything

pallid yoke
#

There is a max limit

#

Lemme see if I see a setting

#

open-pull-requests-limit

#

Set that to 10 per language?

#

Or higher?

random badger
#

There a reason not to set it to 999999?

pallid yoke
#

Mmh

#

Default limit is 5

#

Security updates are excluded, they have an internal limit of 10

random badger
#

I guess what whatever the max is then

pallid yoke
#

The reason you don't set it to smth excessive so that they shouldn't pile up when ppl dont look at it regularly I guess

#

Lemme set it to 20 and we will see how next Monday goes

sly mason
#

casually unpins hangar when he sees it

pallid yoke
#

I didn't ping yet, go give you option in <secret internal channel> smh

random badger
#

Pretty rude to post channel mentions that people can’t join you know… 😛

pallid yoke
#

There, edited 😂

#

"PaperMC’s pins have been updated. Drag and drop to reorder them."

#

Now we gotta bike shed the order 😂

random badger
#

“Bike shed”?

pallid yoke
#

"The act of wasting time on trivial details while important matters are inadequately attended is sometimes known as bikeshedding. That term originates from Parkinson's observation of a committee organized to approve plans for a nuclear power plant. As Parkinson noted, the committee devoted a disproportionate amount of time to relatively unimportant details -- such as the materials for a bicycle storage shed -- which limited the time available to focus on the design of the nuclear plant. "

random badger
#

There a reason vue is even in the package.json? I assume it’s a dependency of any number of the other packages we have

#

Cause dependabot isn’t gonna upgrade the compiler at the same time since it’s not in package.json

pallid yoke
#

I honestly have no idea how transitive dependencies with npm work

#

Nuxt should depend on Vue so we shouldn't need it, right?

random badger
#

I think I added it to try and get rid of the “missing peer dependency” messages

#

It worked fine before, I just always try and remove warning msgs whenever I see them

pallid yoke
#

So that would indicate that it wants us to have the transitive dep ourself?

random badger
#

I think. Actually, I think there still is a missing peer dep msg for the template compiler.

#

I can’t check rn tho

pallid yoke
#

Neither can I

#

Someday I will invest time and learn how this shit works

#

I just know that all transitive deps are in the lock file

random badger
#

can you manually force dependabot to do its thing?

pallid yoke
#

I don't know

#

I don't think so?

#

they don't have a website like renovate, right?

#

oh they have

random badger
#

cause I added the missing peer deps, and vue and vue-template-compiler need to be updated together

#

oh wait, it totally handled that

#

LOL

#

didnt realize it had special conditions for deps that had to be bumped together

pallid yoke
#

yeah the website is just for the old dependabot

#

oh thats interesting

#

I wonder how that works

random badger
#

im guessing its just manually defined presets

pallid yoke
#

I remember when dependabot was new and I would just ping the dev on a PR and he would fix stuff

#

those were the days

random badger
#

well, idk whats going on with that pr, it says it updates both, but the versions still seem to be mismatched

pallid yoke
#

mmh, its the same version for both now, 2.6.14, no?

#

vue-server-renderer@2.6.12

#

heh

#

thats another one

#

thats not template compiler

#

which is fun, cause thats transitive again?

#

no its not transitive of vue or vue-template-compiler, maybe of nuxt?

random badger
#

I didnt see any other warnings given?

pallid yoke
#

@nuxt/core@2.15.6 -> @nuxt/server@2.15.6 -> @nuxt/vue-renderer@2.15.6 -> vue-server-renderer "^2.6.12"

random badger
#

I didnt even realize it was a different one 😅

pallid yoke
#

so dependabot just needs to bump vue server rendered, it should be allowed to since its ^

random badger
#

dependabot only updates stuff in package.json right?

pallid yoke
#

which I would say is wrong

#

renovate doesn't do that

random badger
#

well, adding that as a dep seemed to fix it.

#

show off @pallid yoke

#

typing in a restricted channel

pallid yoke
#

Oh lmfao

#

This is why I can't be trusted with permissions

#

Let's me go to sleep before cat sees that 😂

random badger
sly mason
cobalt oyster
#

I'm tempted...

sly mason
pallid yoke
#

I did

modest forge
#

oof

random badger
#

good. I'd say grounds for expulsion from core team if you didnt

pallid yoke
#

😂 😂

random badger
pallid yoke
#

Ooh

#

Fancy

random badger
#

spring 2.5.0 supports java 16, although idk if all our other dependencies are there yet

random badger
#

instead of trying to divine the platforms the project supports based on what platforms various versions support, suppose we have that as a setting that project members can change?

#

can obv be changed, but require an input on project creation. I think that'll be more concrete than relying on promoted versions to determine what the project supports

pallid yoke
#

What would that change?

#

For like search or where would we display that?

random badger
#

In the project list

#

Like, on the home page

#

Ore uses promoted versions to show that, but idk if there’s smth better

pallid yoke
#

Ah yeah

#

Well, not sure It matters

leaden lily
#

That language switcher is really cool. Doesn't even need to reload the page.

pallid yoke
#

javascript is magic, eh

radiant raptor
#

^

random badger
#

apparently "Documenter" isn't a word, what's a better word for the role?

#

documentarian

mellow pebble
#

Documentator

#

idk

mellow pebble
#

CEE

modest forge
#

I vote for Documentarian

#

(or just Docs Editor)

safe harbor
#

A Documentarian is someone who makes documentaries

modest forge
#

The Story of PaperMC, now streaming on Netflix

random badger
#

another one of mini's projects

radiant raptor
#

i'll edit it /s

random badger
#

Mini, why don’t you use the existing json object stuff for discourse over the one you just recently added to the pom.xml

pallid yoke
#

I think I was lazy and didn't wanna create objects and I like that particularly api for chaining stuff

random badger
#

I just noticed that when I was messing about with fixing the tests that it was giving a warning for overlapping classes

pallid yoke
#

I mean, if you are bored you can rewrite that to use object mapping, but I just really couldn't be bothered to do that, it was ugly enough to get discourse to play nice

#

overlapping classes is smth by maven shade, right? that doesn't really matter

random badger
#

nah, I didnt think it did, but thats part of my thing against warning msgs. I try to get rid of all of them

pallid yoke
#

you can't get rid of all warnings in maven shade

#

it also yells at module infos and stuff

#

if you wanna get obsessed with warnings: do you have the sonarlint plugin for IJ?

random badger
#

I had it, but then I got rid of it

pallid yoke
#

I have at for yelling at my code, when am bored at work I just start tackling sonarlint warnings

random badger
#

I feel like thats one you have to configure a bunch

#

like theres warnings for having too many constructor arguments

pallid yoke
#

which normally makes sense

#

but then you get DI

random badger
#

yeah, we've got some with like 15 arguments I think

#

and models with a bunch

pallid yoke
#

yeah, but those we also don't call manually

#

constructors with many args that you call manually are painful, thats why that warning exists, but its hard to tell it to ignore all the automatic cases

random badger
#

Are we gonna want to have tests for a bunch of stuff? After fixing the meta tests, I was thinking about maybe doing some more

pallid yoke
#

be my guest

#

I love unit tests

#

I hate writing the first one for a class

sly mason
#

test ALL THE THINGS

pallid yoke
#

after that its much easier and the benefit is undeniable

#

minimessage has 100+ test cases and I fucking love it

#

I am really bad at writing tests, but I wanna improve cause it makes stuff so much nicer in general

random badger
#

I expect spring tries to make it super easy to do, and baeldung will certainly be frequented while I figure out this

pallid yoke
#

Well, there are multiple ways to test stuff

#

You can boot up a test spring and use DI and stuff

#

You can boot up an almost complete spring and test rest stuff

#

You can do what I did for the meta and do normal unit tests

#

We most likely want a mix of everything

random badger
#

well, its not entierly normal unit tests for the meta

#

you use di to find/load the various handlers

#

(this is the msg I was talking about btw)

pallid yoke
#

Oh

#

Why the fuck do we have vadin

#

Lmao

#

And that version is from 2013

pallid yoke
#

Well, we want smth like that, unit test still, and also some at high level with the REST stuff, cause those are Integration Tests

#

Test pyramid and stuff

random badger
#

yep

#

well, sonar lint has introduced be to Cognitive Complexity

#

complaining about a very lengthy method VersionFactory#publishPendingVersion

dim minnow
#

can someone tell me when 1.17 is coming out for paper
thx

woven ridge
#

.eta

modest bisonBOT
radiant raptor
#

+1 hour of delay

dim minnow
#

can i ask when u think it will be out?

woven ridge
#

there is no eta

#

no one knows

dim minnow
#

ok thx

pallid yoke
#

Traditional I would subdivide methods by comments

#

Into sections

#

But methods obviously are better for bigger chunks

random badger
#

I mean the thing is… none of that code is like for anything but that one thing. Idk, just feels weird to split it up, only to chain it together.

gusty orbit
#

Will hangar have better ui than spigot resourcekekw

random badger
#

Gettin kinda tired of your questions in various places

gusty orbit
#

Wdym

random badger
#

Think about your question, and think about the relationship between paper and spigot already

pallid yoke
random badger
#

Paper does what over spigot? makes improvements wherever it can

gusty orbit
#

Ok lol

#

So i assume that hangar will have a better ui

random badger
#

Ok, maybe it’s your kekw emote usage that’s annoying me idk

gusty orbit
#

Hmm sry

pallid yoke
#

What kinda question is that?

#

If you got nothing to contribute to this channel, please just mute it and leave it alone

random badger
#

didnt you disable tests somewhere mini? can probably re-enable those now

pallid yoke
#

I think it's disabled in the action

#

Not sure if you copied that when you refactored them

random badger
cobalt oyster
#

beans!

random badger
#

Maybe I just need a break or smth. I keep getting an error saying that it can’t get the jdbi bean cause it’s still being created

random badger
#

Whatever, I give up. It’s working, but only cause I bypassed the DataSourceAutoConfiguration

pallid yoke
#

Doubt I get to take a look this week, never touched that stuff before

#

Ill look thru GitHub at work later

#

But I don't care if we don't use that auto configuration, that's prolly just fine

random badger
#

Well, idk how to have it use the values in the application.yml. Like, to change the password later on?

pallid yoke
#

If in doubt we use our own values 🤷‍♂️

raven warren
#

can i use hangar on cpanel

#

this

#

can i run it on cpanel?

pallid yoke
#

Wat

#

You aren't supposed to host that yourself

#

Its gonna be a website you can use

raven warren
#

wait really

#

oh

#

ok lol

jagged jewel
#

hot take: hangar should support premium plugins, but require the source code to be published publicly (under GPL) and have solid quality standards - no obfuscation, no shitty licenses, nothing like that

stiff token
#

AFAIK the plan is to support plugins with premium support.

#

And I believe most if not all requirements you mentioned not necessarily will be hard requirements, but will be clear indicator and warnings if for example plugin is obfuscated etc.

jagged jewel
#

oh thats great then

#

i was under the impression it wouldn't support premium at all

stiff token
#

Nothing is set in stone yet.

#

And rules will be made later, but the general consensus seemed to be that premium support good, pay to download bad.

pallid yoke
#

I have toyed with the idea of a itch.io like pay what you want kinda thing

#

Idk we will see

#

Initially we will launch without any of that

modest bisonBOT
#

I like it too, it's really nice

modest bisonBOT
#

I mean, technically it's all open source already 👀

jagged jewel
#

fax

#

i mean for all the plugins on hangar

#

GPL or GTFO

random badger
#

nothing solid decided yet. its been talked about having a special label for open source projects, prioritizing them when searching, or just requiring open source all together.

jagged jewel
#

not remotely an authority but my ideal marketplace at least would be:

  • force open-source
  • allow premium pay for download (stripe support)
  • high quality standards
  • no obfuscation
#

but thats just my 2 cents

safe harbor
#

Some badge can/will be beneficial in searches & results differing from non oss.

pallid yoke
#

I don't think we are in a position were we can ban closed source or obfuscation

#

We can penalize it tho

#

I 100% want a scary warning when you download smth obfuscated

random badger
#

Yeah, I don't think we can outright ban that either, but employ other methods to encourage those things

jagged jewel
safe harbor
jagged jewel
#

^^^

safe harbor
#

But, going oss is a decision/standard you follow. Not a (maintenance) burden something/someone puts on your shoulders for sake of publishing your resource on xy spot.

jagged jewel
#

would be great to have hangar be a place to download/buy high quality resources

pallid yoke
#

That's not the main goal

jagged jewel
#

what's the main goal out of interest?

pallid yoke
#

The main goal is for hangar to be a place for paper plugins in general

#

Cause there is no other place

random badger
#

the forums kekw

jagged jewel
#

paper specifically, assuming especially after the hard fork that no-one shuts up about on spigotmc?

random badger
#

well right now, you cant post plugins that only work on paper on spigotmc

pallid yoke
#

Well, there are already paper exclusive plugins

#

That have no real place

random badger
#

paper adds quite a bit of API that wont work on spigot servers

jagged jewel
#

you can make paper exclusive plugins on spigot but you can't do premium paper-only iirc

#

but yeah paper API is great

#

especially if you don't like poking around in nms

pallid yoke
#

No, Plugins that don't work on spigot yet yoinked

random badger
#

iirc you cant put paper exclusive plugins on spigot, regardless of premium status

jagged jewel
#

oh mental

random badger
#

your plugin can have paper-specific features, but if it entirely relies on paper, no

jagged jewel
#

yeah thats what i do with ecoenchants

#

or at least used to do before spigot added the api feature i wanted

random badger
#

like lots of plugins make use of paper api, but also work on spigot, but some only work on paper

#

and those dont have a place to live

jagged jewel
#
if(running paper) {
  do shit
}
#

i haven't seen the announcement about paper dropping API support, is that a thing that's happening?

#

like not being fully compatible with spigot anymore

random badger
#

that might happen eventually, but its not on any calendar

jagged jewel
#

ahh ok

random badger
#

for now, all* spigot plugins will still work on paper

*k, not literally all, but almost all

jagged jewel
#

there's some PR's i'd love to make to spigot but i can't since they'd break backwards compat

#

which is sadge

random badger
#

yes, that is one of the benefits of paper hard-forking, is it can make some breaking changes that people have wanted for a long time

sly mason
#

our stance is to not break API for the sake of breaking API but to start doing the things which shoulda been done years ago and will likely break stuff in the future when mojang requires it

#

e.g. the biomes API which bukkit was working on replacing years ago

jagged jewel
#

like reworking the entire potion system to get rid of the fucking potiontype enum which sucks dick and balls

#

and has no reason to exist

random badger
#

well yeah, there are quite a few registries that should exist

#

but, enums...

jagged jewel
#

problem with enums is that you can't even reflect your way around them fully

pallid yoke
#

Death to all enums

jagged jewel
#

you can add to an enum with enough reflection but it breaks with gson which checks fields

#

which means that there's literally no way to fully register custom potion effects

#

and since learning that i've stopped using basically any enums in my plugins

sly mason
#

getting rid of enums is a key goal, especially as we are sorta pushing on mojang to data drive stuff

jagged jewel
#

any plans to make the paper jar include the NMS mappings?

pallid yoke
#

Most likely not at runtime

#

At least at first

jagged jewel
#

thats a shame

pallid yoke
#

(fight me @barren shale)

random badger
#

someone's got a project for that already right?

pallid yoke
#

But devs can still use them for their plugins

sly mason
#

first goal is not at runtime but to map the server back to spigot

jagged jewel
#

but when writing code that uses NMS we would be able to use the mappings?

pallid yoke
#

Paperweight can do both runtime and compiletime mojmap already, yeah

sly mason
#

tooling will help will mojang > spigot mappings for plugins, i think is the goal

barren shale
sly mason
#

long term plan is for runtime mojmap and translate for spigot until we drop that

random badger
#

because Couldn't has a ' in it

#

prettier auto-reformats it to use " in that case

#

basically, just do whatever you want, and prettier should reformat it for you 🙂

pallid yoke
#

Uhi, you figured out the bean resolving, nice

random badger
#

I still dont quite understand why I had to manually do the DataSource bean...

#

but it works 🙂

#

and I'm glad there aren't any more IJ warnings about cant find those beans

pallid yoke
#

Yeah ^^

random badger
#

I can't really figure out how to do unit tests on like even the simplest stuff

#

like I looked at ChannelService thinking I could easily figure out a way to unit test creating invalid channels

#

based on already existing channels, but ugh

#

cant autowire the ChannelService without adding like 20 classes to the ContextConfiguration annotation cause there are so many autowire deps for every service

pallid yoke
#

That's what I mean about the start being the biggest hurdle

main lava
#

i changed my username and my data is lost in my own paper server what can i do

modest forge
#

This isn't the Paper support channel; ask in #paper-help

sly mason
#

!warn @main lava Do not flood questions across the discord

spiral joltBOT
#

:raised_hands: Warned ZoopyZanas#4527 (Do not flood questions across the discord) [1 total infraction] -- electronicboy#8869.

pallid yoke
#

I know

#

use the benndorf.dev one

dapper condor
#

Sorry if I disturb, how is the hangar project going, are there any ETAs? Couldn't find these informations anywhere else

pallid yoke
#

nah

#

currently all focus is on paper 1.17

stiff token
pseudo delta
#

I hope there is dark mode xd the blinding light theme on spigot one hurts

pallid yoke
#

there is 🙂

pseudo delta
#

i love you

radiant raptor
#

it's dark mode by default iirc

stiff token
ember ivy
#

dark mode is only for $10+ patreon tier

#

runs

safe harbor
#

There's no theme but darkmode 😎

#

(yet)

tacit loom
#

@_@

radiant raptor
#

if you want every website to be dark mode use browser extension dark reader lol

north marsh
#

Can Anybody create me a plugin that logs every packet that is sent

pallid yoke
#

This isn't the place for that

ivory ingot
#

I've one pepe_kek_pointing

halcyon current
#

is hangar planning on allowing the sale of paid plugins?

pallid yoke
#

not at launch

halcyon current
#

is it still early in dev or is there a release date set in mind?

safe harbor
#

Tho you can donate to plugins

pallid yoke
pallid yoke
obtuse laurel
#

Why is

#

Not why

#

What is

#

Hangar

stiff token
#

Read the channel topic please.

ember ivy
#

🎉 🎉 30% OFF 💯 SALE 🎉 🎉 LIMITED TIME ONLY paperPlsPride HAPPY PRIDE MONTH paperPlsPride ULTIMATE KITPVP monsterpikoh

plugin is actually always at that price

safe harbor
#

Unicode emojis are fine.

ember ivy
#

paperchan emoji or riot

safe harbor
#

discourse supports custom emojis

ember ivy
#

tbh i'd deal with emoji if there were some guidelines about excessive use and using the title for non-title shit

safe harbor
#

remind to assign paperchan to your name

#

Sounds very lame

ember ivy
#

that's already crap tho

safe harbor
#

Yeah, idm emojis but excessive use or zalgo is ass

ember ivy
#

🔥 BLAZING 🔥 FAST 🔥 ASYNC 🌐 WORLD 🌐 EDIT 🎉 SO 🔥 LIT 🔥 UR SERVER 🖥️ WILL EXPLODE 💥

modest bisonBOT
#

imo stuff like that should be limited to a tag line

#

"⚠️ XRay Detection [1.8-1.17] ⚠️ 24/7 Support | SQLite | Frequent Updates | Easy To Use | GUI Support" 👀

ember ivy
#

yea that's what i meant by "using titles for non-title shit"

modest bisonBOT
#

maybe I should just do something against that on spigot thonk

ember ivy
#

i mean, does spigot have rules against that?

#

afaict there's only premium resource guidelines?

fluid stratus
#

But if they don't have a bunch of emojis, how will I be able to distinguish between the hundreds of ClearChats? /s

ember ivy
#

🚮 YET 🚮 ANOTHER 🚮 GENERIC 🚮 TRASHCAN 🚮 PLUGIN | GUI SUPPORT | SUPPORTS MC ALPHA 1.2.6 - CUBEWORLD 3.6 🚮 🚮 🚮

fluid stratus
#

That's better

modest bisonBOT
#

there are no rules against it besides common "spam" ones

teal smelt
#

honestly as a user I would prefer clean titles and then maybe a second-line field where they can add those tags/"attractive" things (i really have no clue who chooses a plugin because of such annoying titles, they rather scare me off)

pallid yoke
#

Hangar has a plugin name and a tag line

#

Name is tightly restricted to be an actual name

#

Tag line is Unicode

modest bisonBOT
#

why is there no version? smh

pallid yoke
#

Good catch, should also be the same component as the user page list

#

But yeah, version would be nice

#

Issue please 🙈

teal smelt
random badger
#

@pallid yoke which version, the MC version?

pallid yoke
#

That too I guess

#

But I meant promoted version

random badger
#

Can be multiple tho

#

Like latest for each platform, and MC version don’t matter really for waterfall/velocity

lilac dirge
#

Hey guys do tnt duplicators work with paper?

wise herald
#

It does, it's just a config option. Disabled normally as it is a exploit.

Go inside paper.yml

copper perch
#

.tnt

modest bisonBOT
#

BLOW THE PLACE UP -- DemonWav

copper perch
#

oh

woven ridge
#

.tntdupe

modest bisonBOT
woven ridge
dull jolt
#

what is this

stiff token
#

Read the channel topic please.

dull jolt
#

so no more spigot?

pallid yoke
#

No more Spigot!

modest bisonBOT
#

I'll see about that :P

#

(totally not necroing)

ripe sandal
#

.

lethal heath
#

I should try to find a few hours next week to help out with some CSS tweaks, assuming someone isn’t already working on that

#

Handful of obvious issues on mobile, such as the signup/login buttons being pushed off-screen

pallid yoke
#

Nobody looked on that yet because we are not sure how to proceed styling wise

#

Currently it's just the default vuetify style and quite frankly it doesn't look nice

#

So we wanna write a theme for it or smth to give it a fresh coat of paint

#

But giving mobile a bit of a treatment already will not hurt

lethal heath
#

Ah okay makes sense!

fierce ether
#

I think

#

It annoys me that other plugin repositories aren't set up like this

#

Who all is actually downloading plugins on mobile?

modest bisonBOT
#

wat

fierce ether
#

I think the mobile interface should be set up so that there's a smaller download button and instead a larger share button

#

Because if I'm on mobile, all I really am doing is copying the url and sending it to someone on discord to download

radiant raptor
#

you can do that without a share button?

fierce ether
#

A copy button would be a lot nicer imo

modest bisonBOT
#

there isn't even a download button thonk

fierce ether
#

mobile browsers suck

#

thats what i mean

#

since its not really all decided thats my idea for handling mobile

modest bisonBOT
fierce ether
#

nice

modest bisonBOT
#

not sure what you mean with "share button" btw

fierce ether
#

idk on mobile it's always been, not necessarily difficult, but annoying to copy links

modest bisonBOT
#

lonk press, copy url?

#

or share url

fierce ether
#

you have to first scroll up, then click on the link, but oh wait, that deletes the text and you have to press a little share icon, then click copy

#

at least in chrome

radiant raptor
#

i think you're just nitpicking kekw

modest bisonBOT
#

oof, hangar doesn't even show login/singup buttons in the bar

radiant raptor
#

and pressing cut

fierce ether
#

yeah sort of

modest bisonBOT
#

what do you mean by "scroll up"?

fierce ether
#

to show the browser search bar

modest bisonBOT
#

why?

#

just long press the link that you want to share

fierce ether
#

nop

#

Not at least on Spigot

modest bisonBOT
#

uhm

fierce ether
#

They don't give you direct links, it's behind cloudflares cdn

#

bukkit > spigot

modest bisonBOT
#

is this a ploy to get me to send you a screenshot of a mod view of spigot or something?

fierce ether
#

lmao no

ripe sluice
modest bisonBOT
#

works like a charm

fierce ether
#

I think I'm just being difficult because I like to download plugins directly thru ssh

modest bisonBOT
#

well you didn't say that...

fierce ether
#

tru

modest bisonBOT
#

cloudflare will of course block non-browser downloads

fierce ether
#

can you follow the url in curl to get past the cdn? Or is it anti-bot

#

ah

modest bisonBOT
#

that's the whole reason for cloudflare to exist

radiant raptor
modest bisonBOT
#

and that's what I hate about cloudflare & co but as always it's a small group ruining it for all the rest

fierce ether
#

Definitely

modest bisonBOT
#

more people should employ stuff like ipfs

#

I would love seeing hangar use that for distributing resources 👀

fierce ether
#

Bukkit and Spigot are more or less the same, one just isn't as active and the other doesnt let you have direct links lol

#

Googling

modest bisonBOT
#

one also doesn't show ads to logged in users while the other as a dumb ad-screen before downloads/external links but at least gives authors a cut

#

*has

fierce ether
#

Yeah they do

#

I would be fine with a subtle, non-intrusive ad being forced

fluid stratus
#

Oh that's where the ads are, I was wondering where the money cam from

fierce ether
#

like if people don't want ads, they're gonna use ad blockers anyways, don't make it a feature if you donate lol

modest bisonBOT
#

actually I'm not sure where the curseforge ads are right now

#

lol

fluid stratus
#

I don't think I have ever seen a curseforge ad

modest bisonBOT
fierce ether
#

I use Universal URL shortener, I'm ripping people off though 😔

#

oo

radiant raptor
#

it's just advertising their own things though

modest bisonBOT
#

yeah, it's not showing me ads on teh download thonk

#

maybe they still get blocked by my network?

fierce ether
#

Do you have a Pi hole or smth?

modest bisonBOT
radiant raptor
#

getting a bit off topic though ^^

modest bisonBOT
#

I have a host block list on my openwrt router

fierce ether
#

Yeah we are

modest bisonBOT
#

but yeah, no idea where the money on dbo/curseforge is coming from right now lol

shell fulcrum
#

ads there also ads in the launcher

modest bisonBOT
#

for plugins?

shell fulcrum
#

oh plugins no idea

#

I think all the money goes into a pool then it split by game, then project with some magic formula

modest bisonBOT
#

odd

#

I'm not submitting my personal data for a 5 dollar gift card though lol

#

lets see how much chestshop made lol

#

actually it's 10 bucks now thonk

shell fulcrum
#

Do you still need to submit your info now they are overwolf?

modest bisonBOT
#

good question

#

hm, looks like they only require 2fa now

fluid stratus
#

I don't think I needed to submit much more than just my PayPal last time, but maybe I already gave them all my data

modest bisonBOT
#

you had to provide your tax information at some point

fluid stratus
#

Was that also for PayPal? I thought that was only for the Amazon gft cards.

modest bisonBOT
#

I thought it was for all of them

#

also I would've assumed that more for paypal than anything else seeing as that's real money from a bank rather than just a gift lol

fluid stratus
#

Yeah, I only started using the PayPal options after the five dollar option got added to PayPal

modest bisonBOT
#

meh, I can't find the page to get the per project reward information on anymore lol

shell fulcrum
#

It gone, blame GDPR I been told

#

No idea who GDPR applies when it only numbers....

modest bisonBOT
#

wat

#

it was literally just download numbers per day

shell fulcrum
#

I know....

modest bisonBOT
#

(and points per day which is the interesting part)

#

well time to annoy them to hell I guess 👀

fluid stratus
#

Isn't that on your dashboard?

modest bisonBOT
#

nope

fluid stratus
#

Oh, did they (re)move it, I thought it was there last time I checked

shell fulcrum
#

Yes they removed it

modest bisonBOT
#

is there some official place they talked about that?

shell fulcrum
#

no idea, Curseforge discord?

modest bisonBOT
#

discord

#

official statements

shell fulcrum
#

"Disabled till rebuild"

modest bisonBOT
#

oof

#

let's see if I can still pull it via api 👀

pallid yoke
#

No point in bike shedding the mobile layout when not a single dev minute was spend on mobile

pallid yoke
#

That's distributed enough

shell fulcrum
#

Curseforge site is a mess and they (overwolf) know it it just a lot to fix a site like that

modest bisonBOT
#

b2?

#

can I host that myself?

pallid yoke
#

S3 but by backblaze

#

It's a CDN, so distributed

modest bisonBOT
#

so not better than what spigot/dev bukkit does -.-

#

gotta love random outages due to centralized failure

pallid yoke
#

Got CloudFlare in between

modest bisonBOT
#

just use ipfs and I'll run a node mirroring all the resources :P

#

(+ you can just use cloudflare too if you really want)

pallid yoke
#

I don't feel like learning that kinda stuff tbh

modest bisonBOT
pallid yoke
#

Using industry standard solutions is way easier

modest bisonBOT
#

ipfs is industry standard

#

if your industriy is free decentralized web

#

it also enables people on mars/really high latency to easily download stuff without having to wait minutes/hours

pallid yoke
#

My industry is Webservices and I haven't heard of anyone using that

modest bisonBOT
#

e.g. openbazaar did

#

(although they ran a fork)

pallid yoke
#

Plugins are small, if you can't download a plugin in a few seconds you ain't running a server

#

These problems don't apply to us so the solution doesn't make sense

modest bisonBOT
#

you realise that the ping to mars is something like 16 minutes?

pallid yoke
#

Again, not a problem I care about since last I checked nobody installed paper on a Mars Rover yet

modest bisonBOT
#

it was just a counter argument to your point, your "few seconds of download time" do not matter there

#

if you take a couple of minutes of even reaching the server

#

ipfs enables easy local caching as soon as someone requested it once

#

which is how you can do distributed, community provided cdns with it: people just setup ipfs and mirror all your files

#

and your ipfs gateway just gets the file from a random node (of course it does hash validation)

#

and cloudflare's gateway also caches it itself for a couple minutes/hours

pallid yoke
#

It doesn't solve a problem I have, so why would you use it?

modest bisonBOT
#

it does: cost

pallid yoke
#

I would still have to host all my data myself, right?

modest bisonBOT
#

and you also involve the community into it which helps adoption and long term usage

pallid yoke
#

To make sure it gets never lost

modest bisonBOT
#

you can host it wherever you want

pallid yoke
#

So storage is still there

modest bisonBOT
#

but you don't have to pay as much for traffic

pallid yoke
#

And bandwidth is free since backblaze and CloudFlare have a partnership

modest bisonBOT
#

you also avoid the single point of failure issue

main lava
#

B2 + cloudflare has zero download transit costs

modest bisonBOT
#

since when is cloudflare free?

main lava
#

Since years?

modest bisonBOT
#

last time I looked you had to pay once you reached a certain amount of data

#

can you really just pump petabytes over their netowrk? lol

pallid yoke
#

Paper serves tens of terabytes per month without any issues

zealous charm
#

You cant use it as a file host without them complaining after awhile

#

paper has the open source free pro thing

#

den was talking about it the other day

modest bisonBOT
#

oh so it's only because they "like" open source 👀

main lava
#

We served 40Tb in the past 30 days no issues

pallid yoke
#

Pro most likely just gives us more page rules then I guess

#

Anyways ipfs is a cool toy but it doesn't solve any issues we have

modest bisonBOT
#

I mean they are also heavily invested into the ETH infrastructure so I guess they are kinda the good gueys ¯_(ツ)_/¯

#

it still solves the "remote location download issue" :P

#

and the "single point of failure issue" ;)

#

if cloudflare or backblaze go down then good luck

pallid yoke
#

There is no remote location download issue with hangar

modest bisonBOT
#

(which they already did multiple times so yeah)

main lava
modest bisonBOT
#

yes

#

and this is a fucking issue

pallid yoke
#

If CloudFlare goes down ppl have other issues than our site

modest bisonBOT
#

why do people not see that?

#

at least you don't intend to run stuff on aws I guess but still...

#

cloudflare is part of the centralized cancer that the modern web is

main lava
#

I don't disagree that it's an issue, but you are spouting shit about industry standard. Cf is industry standard. If CF is down people being able to download a plugin isn't a concern at that point because they most likely can't reach their hosts panel either.

pallid yoke
#

We ain't solving that problem here tho

modest bisonBOT
#

so just because the majority does it wrong the minority which does it right and doesn't rely on centralized services should suffer, Caleb?

small kayak
#

centralized failures blabla no one fucking cares

modest bisonBOT
#

all I see is the "everyone is doing it so why shouldn't I?" argument

small kayak
#

there's more centralized failures to worry about than hangar dying for a minute

untold idol
#

please cry to the millions of other pages that use CF

untold idol
#

or pay for the infra hangar would need to not use it

small kayak
#

if cloudflare dies we've got bigger problems than hangar dying

#

cloudflare is the most bang for buck service you can get for stuff like this

#

the caching is great

modest bisonBOT
#

I literally said that I would host an IPFS mirror, JROy

small kayak
#

literally no one cares about ipfs

modest bisonBOT
#

cloudflare does

pallid yoke
#

Can that handle tens of terrabytes?

modest bisonBOT
#

which is apparently you guys god or something

woven ridge
#

I don't think anyone disagrees with you that there is (or at least could be for some) a larger issue here, but I personally don't see how hangar going through much more trouble to deal with this is worth that effort at all

modest bisonBOT
#

if you use ipfs I would invest the money,y es

pallid yoke
#

Cause that's how much traffic CloudFlare handles for us

woven ridge
#

and yeah actually ipfs can as an idea, just a minority of people are using it now

modest bisonBOT
#

also I'm not saying that you should take cloudflare completely out of the equation, I am saying that alternative access should be possible too

small kayak
#

why though

#

the majority of users will go through whatever is on hangar's main site / cloudflare

modest bisonBOT
#

scroll up

#

if you have ipfs installed then it will select the best server for you

pallid yoke
#

99% of users would still use CloudFlare, I don't care about the rest, it's not worth it for me

small kayak
#

ipfs / decentralized file storage is a very small minority to care about

modest bisonBOT
#

99% will use it until 0% use it when cf is down/unreachable/too far away, yes

pallid yoke
#

This is a free time project, I gotta think how I allocate my time, so I create the best experience for the majority of the users

small kayak
#

hangar isn't mission critical

#

it can go down for a day

untold idol
#

good thing CF has 90% ish uptime!

pallid yoke
#

CloudFlare will be up in 99% of the time so still good enough for me

modest bisonBOT
#

we'll talk again when you try to download shit on mars

#

runs

pallid yoke
#

Yeah, please call me then

untold idol
#

phoenix i want a postcard if you goto mars

modest bisonBOT
#

you have to ask mini, I will most likely never leave this planet unless they manage to get 1G starts and landing

pallid yoke
#

U got glass bones or smth?

modest bisonBOT
#

back problems :S but who knows, maybe they eventually find a good way to fix them which isn't putting screws into my spine

pallid yoke
#

Oh it's curved?

#

Well, curved sideways

modest bisonBOT
#

curved in two axis, yeah

raven moss
#

how would i go about making a command that temporarily removes a players permission

pallid yoke
raven moss
#

oops

wild hemlock
#

scoliosis seems fxxked up

pale hearth
grim sparrow
pallid yoke
#

It's an irc bridge

radiant raptor
#

almost done with translating hangar to dutch 👀

radiant raptor
#

@lost pasture too late kekw

pallid yoke
#

You guys should compare and discuss your translations :)

radiant raptor
#

okay i fixed it

#

it builds now

#

now i gotta add that one line

radiant raptor
#

could be

#

both work

#

i did forget some things at the top cuz i was tired xd

radiant raptor
#

feel free to make changes though, my translation isn't perfect

modest bisonBOT
#

I doubt that I could translate it into any needed languages, german and english should be covered already

radiant raptor
#

they aren't

#

english has some small spelling errors/missing letters

#

and german doesn't exist

#

french only has one line kekw

modest bisonBOT
#

uhm, how does german not exist

#

I might contribute one day

radiant raptor
#

hf

random badger
#

French was just created to demo that it worked back when I added the system in the first place

radiant raptor
#

xd

#

i could help with french though

#

not very good at it however ^^;

pale hearth
#

I was going to say I could offer up extremely broken French

sly mason
#

hon hon hon oui oui baguette

pale hearth
#

Bonjourno!

radiant raptor
#

t'aimes aussi du papier?

pale hearth
#

<.< Oui

barren shale
#

it's honestly better to have no translation than bad translation

stiff token
#

If you have bad translation, it'll annoy someone enough to fix it!

pallid yoke
#

That's why hangar has so many bugs!

prime blaze
#

Am french, can confirm, 100% annoyed at google translate french

#

But I guess we'll be able to PR translation files

radiant raptor
#

sure, go for it

#

i PRed dutch

ripe leaf
ripe leaf
#

guys, how should I handle that case ? ^^"

fluid stratus
#

I think using double colons on the outside works as well, assuming that's just normal JSON

ripe leaf
random badger
#

yes use "

#

you can also escape the apostrophe with \ like \'

#

but prettier will autocorrect that to use double quotes

ripe leaf
random badger
#

yep exactly

pallid yoke
random badger
#

json makes you put quote around keys right?

#

like ```json
{
"key": "value"
}

pallid yoke
#

Yeah, and no trailing commas

#

And no comments

glad shuttle
#

json depends on the parser you use

#

good parser will ignore comments

#

parsers that stick 100% to spec are annoying

pallid yoke
#

Yeah I was describing the spec

ripe leaf
surreal coyote
sly mason
#

knowing where to diverge is important

#

if the parser can deal with stuff like useless meta which humans love to have, that's better than not

#

I mean, if you want human stuff you could probs argue that something actually designed for humans would be better, but, 🤷‍♂️

glad shuttle
#

Not if the spec is trash

#

JSON spec is terrible

#

I mean at this point json5 is a good option

#

Hopefully gson will eventually support it

ripe leaf
#

I guess I should not translate that

radiant raptor
#

you should

ripe leaf
#

🙂

random badger
#

Yeah, the part inside the <a> tags

#

Hangar should be kept the same tho

#

Like, that’s the name of the site, I don’t think that should be translated anywhere

#

Just like you don’t translate Paper

modest bisonBOT
#

excuse me, I call it Papier on my German server!?!

radiant raptor
#

yes but germany is dumb

modest bisonBOT
#

watch your language

ripe leaf
#

I'll keep generic names like Spigot and Paper because Robinet and Papier have never been used to refer to Spigot and Paper (that sentense is confusing I know)

fluid stratus
#

They're names, I think they should be kept the same

ripe leaf
#

I'm not sure to understand the meaning of "Slug" here

 slugExists: 'A project with this slug already exists'
#

(ping me)

radiant raptor
#

@ripe leaf "A slug is the part of a URL which identifies a particular page on a website in an easy to read form. In other words, it's the part of the URL that explains the page's content."

#

basically: a page with this shorthand already exists

ripe leaf
#

Ok thank you

fluid stratus
#

Good luck translating that 😉

radiant raptor
#

i think i didn't translate it

#

cuz it's a given name

ripe leaf
#

With the context it will be much easier. I have already a few ideas for that

radiant raptor
#

yeah, maybe a (?) information on hover box could be there?

ripe leaf
#

🤷‍♂️

radiant raptor
#

would be quite easy to add

barren shale
#

"https://github.com/PaperMC/Paper" Paper = the slug. I forgot if Hangar allows special project names, but the slug of a "Hello Me" project would be "Hello-Me" or whatever similar

ripe leaf
#

I think I should not translate those things

radiant raptor
#

they're variables ofc

random badger
#

Yeah, def don’t

#

You can move them to a different place in the message if it makes sense to have it somewhere else grammatically

#

Those will be replaced with a “name” or “msg” that will not be translated from whatever it is.

radiant raptor
#

right, i gotta change some stuff in my own translation

ripe leaf
#

At some points github is mad...

#

But I have completed it. Tell me if I can open a pr.

radiant raptor
#

you can always open prs, it's open source xd

sly mason
#

you're using " in some places and ' on others

#

that's why the formatting looks kinda inconsistent on the page

#

and in some parts, githubs formatter is just trash

radiant raptor
#

facts

radiant raptor
#

fixed some errors in my translation

#

think i found the language switcher code (nuxt.config.js, right?)

#

great, broke the build again xd

ripe leaf
radiant raptor
#

ooooookay should be fixed now :D

solemn zenith
#

I'm looking at the translation strings and does 'flag' mean 'to report something' in this case?
Btw I'm also unable to register an acc

radiant raptor
#

yeah that's intended i think

#

not a bug bro, trust me /s

solemn zenith
#

I mean it can be intentional. It's just easier to translate things when you can see the actual pages you'll translate

radiant raptor
#

from what i can tell, they're reports/fixme labels

pallid yoke
#

Hangar auth database is fucked since I only imported data and not the sequences

#

If you ping me tomorrow I can prolly setup an account for ya

#

Flag as in, mark it as something

ripe leaf
pallid yoke
#

Just ping me in 9 hours and I'll setup accounts

#

Can also merge PRs for testing

radiant raptor
#

oooh that would be nice

ripe leaf
#

Nice :)

#

Thank you Mini

snow crag
#

Would plugins already on spigot be on hangar too?

woven ridge
#

it's up to plugin developers where they put their plugins- hangar won't just take everyone's plugins from spigot and mirror them or anything

snow crag
#

I was under the impression that hangar is for plugins only for paper and it’s forks, i guess I was wrong then

#

like plugins that work exclusively for paper not spigot or craftbukkit

woven ridge
#

no

#

well, yes in the sense that it will provide a place for those plugins that previously went on github/I guess kinda sorta devbukkit now as they don't care as much

#

but not in the sense that only those plugins

random badger
#

Hangar will take plugins that work on paper. If those plugins also work elsewhere, that’s fine.

glad shuttle
#

Hangar won't take plugins build with eclipse though

ember ivy
#

what about netbeans, the one true IDE as used by our lord and savior?

#

runs

sly mason
#

So, just filter plugins with the unresolvable compilation exceptions?

woven ridge
#

are you meant to be able to create projects at the current point? I've just set up an instance myself and am getting 400 with nothing useful in the logs. There's likely something I'm doing wrong but I'm not sure what

random badger
#

yeah, everything should pretty much work locally

#

so you are signed in to the fake user account right? called paper or smth

#

what request 400s?

woven ridge
#

no with hangarauth

#

let me get it

random badger
#

oh using it w/hangar auth ok.

woven ridge
#
{"category":"admin_tools","settings":{"license":{"type":"Apache 2.0","url":""},"donation":{},"keywords":[],"homepage":"","issues":"","source":"","support":""},"ownerId":2,"name":"neatproject","description":"neat project","pageContent":"look at my amazing project"}

with this body

#

and it just responds with this with nothing logged

{"timestamp":"2021-06-29T02:55:17.413+00:00","status":400,"error":"Bad Request","path":"/api/internal/projects/create"}
#

although I don't have debug logging or anything on for the backend- I should see about that

random badger
#

yeah, try that. in application.yml, uncomment that big setting all logging to DEBUG

#

the logs will get spammed a bit, but that'll give you a better indication of what's wrong

woven ridge
#

ok thanks for pointing me in the right direction

random badger
#

a 400 response w/no error message points to an exception thrown not by code in hangar but by smth in spring. cause I think all error responses (except not founds and unauth, forbidden) have more descriptive messages

#

like, if it was an issue with the POST body, the form validation would tell you exactly what was wrong in the 400 response

woven ridge
#

I didn't fill in every field, not sure if it expects that

#

but it just said "bad request" not anything else

random badger
#

yeah, not an issue with the POST body

woven ridge
#

but anyways I'll get on debug logging and see if that gives anything useful

random badger
#

feel free to copy/paste the debug logs into a pastebin and post here if you want me to take a look

woven ridge
random badger
#

hmm, ya looks like it. Any logs in the docker db service?

woven ridge
#

no but I'm going to try enabling debug logging there as well

#

it created all of the other stuff fine though from the looks of it

random badger
#

Can also try adding some debug statements ProjectFactory#createProject to see where stuff went wrong

woven ridge
#

when I have time tomorrow I'll try to debug this some more

sly mason
#
db_1        | 2021-06-29 03:17:26.453 UTC [28] LOG:  execute <unnamed>: DELETE FROM projects WHERE id = $1
db_1        | 2021-06-29 03:17:26.453 UTC [28] DETAIL:  parameters: $1 = '7'
backend_1   | 2021-06-29 03:17:26.461 DEBUG 1 --- [  XNIO-1 task-2] o.s.jdbc.support.JdbcTransactionManager  : Initiating transaction rollback
#

rollback?

woven ridge
#

that's hangar doing that for some reason

sly mason
#

Yea, but, more the fact that it's doing that

woven ridge
#

at least that's how I see it- I don't know why or really feel like figuring it out right now

#

something for tomorrow

sly mason
#

Oh, the things transactional

#

chances are some exception was throwin in createProject is what am guessing

woven ridge
#

oh wait no nevermind

#

ok no I was right I thought I had messed up my db but it does the same thing when I nuke it

#

anyways will figure this out tomorrow

radiant raptor
#

@pallid yoke it has been about 9 hrs :p

random badger
#

what do you need? email confirmation?

pallid yoke
#

Plus TOS

#

Cause that's broken too rn cause I broke the sequence

random badger
#

oh, thats broken too?

pallid yoke
#

Yeah hangar auth db in general is fucked, maybe I should just drop it, idk

#

I just woke up, I'll be at my pc in an hour or so to look at stuff

random badger
#

I should be able to check those boxes

#

although TOS is a group, but I think I can do that

radiant raptor
#

gl MM

random badger
#

@radiant raptor what is your username?

radiant raptor
#

don't have one yet hang on 👀

random badger
#

@ripe leaf and let me know what your hangar acct username is if you were trying to make one

#

and @solemn zenith let me know what your username is

radiant raptor
#

it's MrsHerobrine

random badger
#

ugh, why don't I see your account anywhere

sly mason
#

She really doesn't exist

#

and will one day be purged from the world

pallid yoke
#

If there was a rollback because tos acception couldn't be logged I guess there is no trace of the accounts?

random badger
#

naomi said she just created it tho

pallid yoke
#

Can you manually increment a sequence in SQL? Cause then we just need to reset the sequences in those tables

radiant raptor
#

you can autincremrnt in sqlite

#

but that'swhere my knowledge ends

sly mason
#

Looked like an exception was thrown from what I can see

#

you can mess with the auto insert counter if that's what you're asking

random badger
#

hmm, when I try to see what the current value of a sequence is, I get currval of sequence "xxx" is not yet defined in this session

#

do we just need to set the value to whatever the next one should be?

radiant raptor
#

you could try, see if that fixes it

random badger
#

well, if you just keep sending post requests, the ID is being incremented, so... could just do that 13 more times

#

idk if that'll mess anything else up tho 😆

ripe leaf