Coder Social home page Coder Social logo

bewelcome / rox Goto Github PK

View Code? Open in Web Editor NEW
187.0 24.0 53.0 213.71 MB

:earth_africa: BeWelcome lets you share a place to stay, connect with travellers, meet up and find accommodation on your journey. It is and will always be a free, open source, non for profit, democratic community.

Home Page: https://www.bewelcome.org

License: GNU General Public License v2.0

JavaScript 19.45% PHP 64.74% CSS 4.55% Shell 0.08% Makefile 0.04% HTML 0.43% Hack 0.01% Dockerfile 0.06% SCSS 2.15% Less 0.46% Twig 7.96% Gherkin 0.09% TypeScript 0.01%
open-source free-software php design sharing hospitality symfony opensource non-profit travellers

rox's People

Contributors

amnesiac84 avatar coroa avatar crumbking avatar dependabot[bot] avatar dimaits avatar djwinter avatar gabriel-bw avatar gitoni avatar gl0bi avatar guillermodlpa avatar jesus82 avatar lantti avatar mddorfli avatar meinharrd avatar mmmukss avatar nciemniak avatar plp-gtr avatar pschoffer avatar rafalkrupinski avatar railslide avatar scrutinizer-auto-fixer avatar simison avatar sndrr avatar steinwinde avatar szymonkaminski avatar thisismeonmounteverest avatar tobixen avatar toub avatar vincentchalamon avatar zeuros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rox's Issues

[Admin] Bulk actions

As of request of the Safety Team: perform bulk actions on members list. This should enable easier removal of multiple spam accounts at once

Make sure the site is accessible

All web sites should be accessible, especially those whose mission statement is about inclusiveness and connecting people. The standard guidelines are the Web Content Accessibility Guidelines from W3C:
https://www.w3.org/TR/WCAG21/

The latest alpha web site, as of today, has at least a few accessibility problems... It would probably be a good idea to run an automated accessibility checker to see if there are more problems. The most commonly used accessibility checker is WAVE:
http://wave.webaim.org/

Problems that I noticed (and I'm not really an accessibility expert):

a) All information presented as icons/images, needs to have a text alternative.
https://www.w3.org/TR/WCAG21/#text-alternatives

Examples of icons/images without text alternatives: Navigation icons in the top bar after you log in (messages, logout). In addition, using standard icons similar to those on other sites might make these more understandable -- I personally had no idea what they were meant to be until I either clicked on them or looked at the URLs.

b) Minimize abbreviations, or provide text that expands them.
https://www.w3.org/TR/WCAG21/#abbreviations

Example of this: the "Vol" link (meaning Volunteer) in the top navigation bar when you are logged in. Again, I personally had no idea what this meant until I looked at the URL or clicked on the link, and I am a native speaker of English. It could stand for many words. Also this would be difficult for translators to translate.

c) Can the home page (not logged in) be navigated without a mouse? I don't think so.
https://www.w3.org/TR/WCAG21/#keyboard-accessible

Allow only following specific threads

  1. User visits http://www.bewelcome.org/groups/570/membersettings
  2. User sees I want to receive e-mail updates from this group:  No  Yes
  3. If 'no' User expects to also see a setting to still receive e-mail updates from:
  1. Threads he has started
  2. Thread he has comment on
  3. Threads he has marked as following

Yes, only following specific threads is probably already implemented. It's just that the user visiting the above URL can't tell.

How can I contribute?

Hi guys
I've been working in PHP about 6 years and now I want to contribute some open-source projects. I think BeWelcome is a good starting point, because it has a lot of potential to be a first host-guest website in the world.
I was looking for CONTRIBUTING.md file but I couldn't find it. Now I want to know how can I contribute and what is the starting point?
thanks

Prepare every page for optimal display on 3 devices: laptop, tablet , cell phone (lg - md - sm - xs)

  • Opening page

  • Login page

  • Dashboard

  • Inbox (including requests)

  • Message-pages

  • Message / request writing pages

  • Map Search

  • Browse countries

  • Trips (display, create)

  • Discussions

  • Group search / display

  • Groups pages

  • Group admin

  • Discussion display

  • Report to moderator page

  • Activities (display, create)

  • FAQ

  • Contact

  • Statistics

  • Terms

  • Help BeWelcome

  • Donate

  • BeWelcome news

  • Profile

  • Profile edit

  • My groups, notes

  • Volunteer / Admin pages

Impossible de se connecter / problème avec l'envoi de nouveau mot de passe / réponse du support nulle

Bonjour,
J'ouvre une demande de problème sur github car le boggue perdure depuis trop longtemps maintenant. Depuis plusieurs mois, il m'est impossible de me connecter sur le site bewelcome.org.
J'ai donc fait la demande pour recevoir un nouveau mot de passe. Je reçois bien les courriels avec le nouveau mot de passe. Mais impossible de me connecter avec mon identifiant habituel et le nouveau mot de passe... ??
J'ai donc à 2 reprises envoyer un rapport de bug via le site bewelcome.org mais aucune réponse depuis bien plus d'un mois déjà.
Le projet est-il encore vivant ou est-il juste mort ? Il ne serait probablement pas encore mort vu qu'il y a eu un commit il y a moins d'un mois.
Cordialement.

Geonames Attribution Missing

As per the title, our geodata provider (geonames.org) license their work under a Creative Commons Attribution 3.0 License, but none such attribution can be found in the repo or the site. Can we amend this?

Sign in with both username as e-mail address

Since more and more websites let you login with an e-mail address, the members assume it can be done on BeWelcome as well. This saves frustration with members and work for the support team.

Split requests and messages?

Requests could/should be sorted by date of request not date of sending.

Code gets a bit confusing with the mix of requests and messages.

Map search without loading Google Maps

The search map tries to connect with google (maps.googleapis.com). As we're using OpenStreetMap on default, would it be possible to not connect with Google? Members from countries where Google is blocked could otherwise not use the map functionality.

"Please implement SetLocationPage ::_getLoginMessages()" displayed on setlocation page

On current production Web site, with Iceweasel 38.0.1 (firefox) or Chromium 43.0.2357.65 on Debian Testing, the following message appears in a textarea on the top of the page when I open the setlocation page:

Please implement
SetLocationPage
 ::_getLoginMessages()

or create a file
"/var/rox/deployment/www.bewelcome.org-4dea01b/htdocs/../build/members/templates/setlocation._getloginmessages.php"

Groups are deleted but membership isn't

When a group gets deleted the code should remove the membership entries in the database as well but obviously fails to do so. This wasn't a problem with the old code but the new code uses the memberships as the entry point and not the groups so this leads to problems.

A database cleanup is needed and the group deletion process needs to be changed so that membership is really removed. (Use cascade in Doctrine entity class?)

Discrepancy between displayed comments

At this moment, the map search gives only the number of comments left on a profile page of active members. It ignores comments from inactive members.

For example:
a member has 18 profile comments, and 8 of the authors are inactive. The map search states that the member has 10 profile comments. The text search states 18 comments. On the profile page 18 comments can be read.

[Admin] Add 'dubious' status/label

As per request of the Safety Team: some profiles are dubious, but not clearly spam accounts or safety issues (for example: empty profiles). An additional status/label would help the Safety Team, and perhaps the NMBW team, to follow dubious profiles over time.

[Security] Mixed content warnings (https)

Hitting https://www.bewelcome.org/members/mikael to the browser works normally.

Opening that link (with target="_blank") from another page breaks https and causes the page load without CSS.

Refreshing doesn't help but hitting enter at URL bar helps.

Chrome.

Log;

Mixed Content: The page at 'https://www.bewelcome.org/members/mikael' was loaded over HTTPS, but requested an insecure image 'http://www.bewelcome.org/gallery/thumbimg?id=15567'. This content should also be served over HTTPS.
mikael:489 Mixed Content: The page at 'https://www.bewelcome.org/members/mikael' was loaded over HTTPS, but requested an insecure image 'http://www.bewelcome.org/gallery/thumbimg?id=15568'. This content should also be served over HTTPS.
mikael:489 Mixed Content: The page at 'https://www.bewelcome.org/members/mikael' was loaded over HTTPS, but requested an insecure image 'http://www.bewelcome.org/gallery/thumbimg?id=15564'. This content should also be served over HTTPS.
mikael:489 Mixed Content: The page at 'https://www.bewelcome.org/members/mikael' was loaded over HTTPS, but requested an insecure image 'http://www.bewelcome.org/gallery/thumbimg?id=15562'. This content should also be served over HTTPS.
mikael:522 Mixed Content: The page at 'https://www.bewelcome.org/members/mikael' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.bewelcome.org/a'. This endpoint should be made available over a secure connection.

#Stats not working

Stats are based on pChart which isn't developed anymore and not compatible with PHP 7.

Messaging: make it possible to reply to last sent message

Hi and thanks for making rox (and BeWelcome)!
Here's the issue:
You send a message to someone. A few days later, you realise they haven't replied and so you want to send them a second message. There is currently no _easy_¹ way to send a second message that is connected to the first one (ie: keeps the conversation context).

Most email clients make it possible to reply to your own sent messages, as if they had been received. This will automatically quote your own message, and let you write your new message above.

A simple "reply" button under messages, next to "edit" (which I'm not sure should exist, by the way), would be a simple way of sending follow ups while maintaining the conversation context.

Thanks!

  1. Sure, you can copy your last sent message, click "reply" to your correspondent's last message, paste your last sent message, select the whole text in the text box, click "blockquote" and then start typing above that, but only nerds like me will do that.

[new website] Signup bugs/improvements

  • go back to the previous steps
  • no check if 2nd password is the same as 1st
  • no check if 2nd e-mail address is same as 1st
  • no general input checks
  • white bar over language selector (text not visible)
  • question mark after date of birth is for gender
  • setting hosting marker (step 3) shows insecure connection
  • unable to set location
  • "save settings" should be renamed to "finish signup" (or something like that) and button should be doubled at bottom of the page

#Signup

  • can't get past step 4 - showing input array (with password as cleartext)
  • Language selector not showing/working properly

Email template layout - logo overlapping text

In the new email notification template BW logo gets out from the top grey bar. Depending on the dimension of the window and/or from the length of the title of the thread, it can also overlap text making it illegible.

FAQ: tiny bug

New FAQ questions are wrapped in <p> </p> making it shown with an empty line

Translations

Add a possibility to translate on the new website as the old version doesn't work anymore.

Privacy settings for blogs do not work correctly

Trac issue #1976 reported by sitatara:

When I create a blog post and set it to "private" everyone who knows the direct link, can access the blog post. So, basically it currently is the same as the setting "protected".
By the way, I don't quite understand why we do not offer a "members only" visibilty setting for blog posts.

Linking to BeWelcome with oAuth

Heya!

Would you guys be interested in adding oAuth to BW? I'd like to have verified links to BW profiles from @Trustroots profiles.

Right now I'm simply asking for BW username and forming a link from it:

image

Output:

image

Maybe in the future this could be developed towards something where changing hosting status at one site changes it at all the other hospex sites as well...

Upon the same topic at WS: warmshowers/Warmshowers.org#716

Add third-party application restrictions to github organization

Not really a rox-related bug, but would it be possible to enable third-party application restrictions for BW organization on github?

'Cause I'm trying to set up CI at work and it looks like BW allows third-party access by default (i.e. any member with read access can authorize an application to access BW organization's data) and I'd rather not give access for BW if possible (I don't think we have particularly sensitive data in BW github organization, but still)

A good read about third party restrictions can be find here

migrations failing on some wordcodes

(I don't know if we are tracking issues now here or still on trac, so I put this on both. Sorry for the confusion, feel free to close the one that is wrong)

Some of the wordcodes that should be added by running migrations are already present in the words.sql database dump. This causes the migrations to fail. The workaround that I used to continue with my install was replacing the INSERT INTO queries in the tools/roxmigration/roxmigration.php/_writeWordCodeToDb() function with REPLACE INTO queries. This way the query succeeds even if there is already an identical wordcode in the database.

Should we make this change to the official code too? Is there a reason why we would like to have a fatal error instead of silent replacement in such a conflict between the existing wordcode and a migration? Or would it be better to fix the developer db dump instead?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.