Re: [openstreetmap/openstreetmap-website] OpenStreetMap being bloat and not suckless (Issue #5436)

2024-12-22 Thread Tom Hughes via rails-dev
I have to say I'm not clear exactly what dependencies are being referred to here, or how a web site could "run on CLI" exactly. Perhaps @x64x2 could provide a bit more information about what they have in mind? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetm

Re: [openstreetmap/openstreetmap-website] Queries and keys controllers in features namespace (PR #5024)

2024-12-22 Thread Anton Khorev via rails-dev
> Are we every likely to have anything else in Features though? Moved map key there too. I thought about combining them into one toolbar button. When you click it, it shows map key. If you click on the map after that, it does a query. I haven't done this because it's possible to make queries wo

Re: [openstreetmap/openstreetmap-website] Rename browse controller to queries controller (PR #5024)

2024-12-22 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 2 commits. 1dace709cdc73c7d65a87fb19efb8c917bdc89e5 Rename browse controller to features/queries controller 3002807b728580ae7ecb4a7600e9e33dc3c8e761 Move map key to features/keys controller -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/

Re: [openstreetmap/openstreetmap-website] Rename browse controller to queries controller (PR #5024)

2024-12-22 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 1 commit. b2711a858700c284c8e3b2b486723f899aced85b Rename browse controller to queries controller -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5024/files/82efa48976437030d2c1b5ed2ead9ad6161dee10..b2711a858700c284c8e3b2b486723f899aced85b

Re: [openstreetmap/openstreetmap-website] OpenStreetMap being bloat and not suckless (Issue #5436)

2024-12-22 Thread SomeoneElseOSM via rails-dev
@x64x2 Almost nothing that anyone would want to do with OpenStreetMap data requires them to deploy their own copy of the OpenStreetMap website. Rather than creating an issue in the website repository here, perhaps it might be better to ask a question over at https://community.openstreetmap.org

[openstreetmap/openstreetmap-website] Use resourceful route for user status (PR #5437)

2024-12-22 Thread Anton Khorev via rails-dev
Creates `:user_status` resource with its own controller. You can `:update` this resource instead of doing `:set_status` on `User`. "Soft destroy" `:destroy` action is also moved to this resource because it comes together with status update. It does a similar thing (changes status), has the same

[openstreetmap/openstreetmap-website] OpenStreetMap being bloat and not suckless (Issue #5436)

2024-12-22 Thread somto via rails-dev
OpenStreetMap's dependency list is excessive, violating the KISS principle. this hinders adoption. *problem* - numerous and unreasonable dependencies - unnecessary features for basic use cases *proposal* - simplify dependencies and focus on core functionality - should run on CLI. -- Reply t

[openstreetmap/openstreetmap-website] Remove check_api_readable from api messages controller (PR #5435)

2024-12-22 Thread Anton Khorev via rails-dev
This check was moved to `ApiController` superclass in #4859, but `MessagesController` was written before that and merged after that in #4605. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5435 -- Commit Summary --

Re: [openstreetmap/openstreetmap-website] Move users list to administrator module (PR #4969)

2024-12-22 Thread Anton Khorev via rails-dev
Superseded by #5391 -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/4969#issuecomment-2558686995 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Move users list to administrator module (PR #4969)

2024-12-22 Thread Anton Khorev via rails-dev
Closed #4969. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/4969#event-15742740436 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing

Re: [openstreetmap/openstreetmap-website] Use map tiles dark mode from leaflet-osm plugin (PR #5426)

2024-12-22 Thread Marwin Hochfelsner via rails-dev
Since the line with the not (yet) supported optional chaining is only to make the updates work without the UI panes (like in the tests) anyway, the complexity of that predicate can be reduced. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-w

Re: [openstreetmap/openstreetmap-website] Use map tiles dark mode from leaflet-osm plugin (PR #5426)

2024-12-22 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. dd7de493a19726b55f2548583b482e0af66942aa Simplify DOM node check -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5426/files/88029efca5865721ea7d011e4fe2064019acf231..dd7de493a19726b55f2548583b482e0af66942aa You are receiving this because

Re: [openstreetmap/openstreetmap-website] Use resourceful routes for api messages in/outbox (PR #5434)

2024-12-22 Thread Tom Hughes via rails-dev
Merged #5434 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5434#event-15741354338 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Use resourceful routes for api messages in/outbox (PR #5434)

2024-12-22 Thread Tom Hughes via rails-dev
Looks good to me, and the difference between inbox and outbox is clearly a bug that needs fixing anyway. Thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5434#issuecomment-2558419793 You are receiving this because you are s

Re: [openstreetmap/openstreetmap-website] Resourceful routes for users api (PR #5433)

2024-12-22 Thread Tom Hughes via rails-dev
@tomhughes commented on this pull request. This mostly looks fine. I think the only thing I'm not sure about is moving `user#details` into a separate controller - it's basically an alias for `user#show` so does it make any sense to separate it? That said @gravitystorm has a better grasp than me

Re: [openstreetmap/openstreetmap-website] Use map tiles dark mode from leaflet-osm plugin (PR #5426)

2024-12-22 Thread Tom Hughes via rails-dev
@tomhughes requested changes on this pull request. Can you fix the lint warning? Then we can get this merged! -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5426#pullrequestreview-2519598959 You are receiving this because you a