GithubHelp home page GithubHelp logo

hotosm / hotosm-website Goto Github PK

View Code? Open in Web Editor NEW
64.0 16.0 99.0 4.39 GB

The website of the Humanitarian OpenStreetMap Team. See instructions below for writing blog posts or updating your profile.

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

HTML 71.73% Ruby 0.16% CSS 1.22% JavaScript 7.79% SCSS 18.77% Shell 0.32%

hotosm-website's Introduction

HOTOSM Website

This repo is the codebase for the main Humanitarian OpenStreetMap Team website. See gh-pages branch for Jekyll code. If looking for the previous Drupal codebase, see the current master branch.

  • See the issues queue for all discussions and tasks.
  • Chat available on HOTOSM Slack within the #hotosm-website channel, or join the same conversation on our Space (Beta) on Matrix, a modern open source and decentralized platform.

Getting Started with Development

This site uses Jekyll. To get started on GNU/Linux, Unix, or macOS, you must meet the following requirements:

  • Ruby 2.2.5 or above
  • RubyGems
  • GCC and Make

First, install bundler.

gem install bundler

Next, use bundler to install the build dependencies:

bundle install

Then, start Jekyll with bundler (this resolves any dependency issues you may have):

bundle exec jekyll serve --incremental

Finally, navigate to http://127.0.0.1:4000/ and you should see the new website!

Key pages & script/data dependencies

Website

Website issues

Please use the issue tracker at https://github.com/hotosm/hotosm-website/issues to report bugs, develop ideas, ask questions or give feedback. Thank you!

Security Notes

  • Github Pages does not support HSTS even when added in meta tags
  • Content-Security-Policy must be tweaked appropriately when new integrations are added
  • Security header controls are absent in GH-Pages; So it's added as HTTP meta tags in _includes/head.html

hotosm-website's People

Contributors

alexglynnhot avatar biondisima avatar bopercival-hot avatar brendangatens avatar claurt07 avatar dakotabenjamin avatar danagallaty avatar davidrothstein avatar dbuytaert avatar drumm avatar gihan-hotosm avatar goba avatar ifrik avatar jbergmann91 avatar jhodgdon-drp avatar kateregga1 avatar katia-utochkina avatar mataharimhairi avatar pauluithol avatar petya-kangalova avatar raizapila avatar ramyaragupathy avatar rebeccafirthy avatar saraamadi avatar smit1678 avatar synneolsen avatar tylerradford avatar vannicer avatar webchick avatar willemarcel 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

Watchers

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

hotosm-website's Issues

Set up staging site

If we work with several people we need an additional staging site to test commits, and to allow other to see whether the proposed change solves the issue before pushing it to the production site.

post-redirect link moving to hotosm.org

We've redirected hot.openstreetmap.org -> hotosm.org for all the good reasons described at:
#6

As a follow-up we should think about all the places where we can fix links to point directly at hotosm.org where previously we linked hot.openstreetmap.org The redirect means that it is not critical, it's just a way of setting the example and encouraging everyone onto one canonical URL.

Switch to Piwik for website stats

To facilitate the sharing of our website stats, we would like to consider using Piwik to track traffic on the main HOT websites. One issue to consider is if the piwik stats would be fully public or restricted to just the HOT/OSM interested community.

Getting theme sass files back on track

I just wanted to do some theming for #32 and compiled Sass against it. But it looks like there are some lines in the css files that got added without being defined in the sass file. This should be fixed.

Language pop down menu does pop down for selection

When I try to use the language pop down menu, I can never get it to pop down so there is no way for me to select another language. Tested on win7 FF, Chrome, and MacOS FF, Chrome, Safari

Edit: The pop down does work if I go to a non existent page and get the 404 page or if I am on any of the French pages, I can select English or French, but once I am on the regular English pages, the pop down stops working.

Redesign

The website right now is not very responsive and looks not very good on mobile devices and smaller tablets. It would be good to offer a responsive design for smaller resolutions.

This might be good to implement with a general design overhaul. But it should be in the list here to not forget and implement at least within the next half a year or so...

Opinions? Ideas?

Position navigation bar properly

The navigation bar is placed very too near to the language selector. There the position of the navigation bar is, depends a bit on the amount of items (lenth of navigation). This is not a good desire and CSS needs to be adjusted to keep the bar always in it's place.

First reported by @ifrik in #15

Email subscription for news

Taken from hotosm/tech#10

Implement a simple newsletter functionality to send news (content type "update") out to people who left their email address in some subscription block on the website.

Support for SSL (https)

Could we enable https on the site? It is unlikely that browsing the HOT website is going to be a privacy concern for many people but the user login is currently sent over plaintext (using OpenID presumably fixes this for those that have enabled it) and Google have begun to regard https as a ranking factor [0]. Site wide https by default would solve the login issue, help the Google ranking and allow us to worry less about visitor privacy in the future.

openstreetmap.org already as a https wildcard cert that could presumably be used without any particular effort for hot.openstreetmap.org, but I don't know about the hotosm.org domain (presumably many error messages would occur).

[0] http://googlewebmastercentral.blogspot.com/2014/08/https-as-ranking-signal.html

Present projects depending on their type and highlight ongoing projects (emergency mapping)

I don't know what you think: But for visitors who want to get involved in one of the activations and arrive to the website it is almost impossible to understand which projects are really active.

How has this been handled until now? There is a checkbox on the projects that promotes it to the front page. Are all projects ongoing activations?

I would propose to highlight the really active projects, that need people to jump on, on the project page in a slightly different background or seperate them from the others with a suitable headline like "Get involved in this projects now" and "Long term projects" and maybe "Archived projects",.... something like that.

And on the frontpage we could make a more calling headline to the block of projects, like the first one in the projects overview page for the ongoing activations.

Footer remake

Twitter, Facebook and "user login" would be nicer, less text and more illustrative to represent with small icons.

Nicer language switcher

It would be good to have a more beautiful language switcher than this a little bit massive drop down for only two languages.

update to core 7.32

After a security alert, I patched the relevant file database.inc but the regular update to 7.32 still needs to be done.

Video section (related to projects)

Taken from: hotosm/tech#11

A section with a content type for videos and views to show them on the related places is requested by @mikelmaron to be implemented.

As far the first step has been done. The content type has been created and it would be good to have some videos to be integrated: http://hotosm.org/node/add/video

This would be good to have in order to then theme it nicely and put the right views in place.

@mikelmaron, do we have enough videos to use already? Can you create them, please? Or provide some links to youtube, where these are hosted. Thanks!

Lead visitors to become contributers

[Feature request]

When a visitor interested in helping HOT by enhancing OSM data he has (imho) a hard time finding the right place. Right now he has to discover the "get involved" link (which shouldn't be too hard) โ€“ but the link pointing to the task manager is in the middle of the following page "hidden" in a big text block.

User Profile, Working Group role

For Working Groups, the role will be different per group. Might make sense to be a drop down too. How much trouble is it to amend that? If it's a bit of work, perhaps we just start off without the role.

Role removed to an existing account

Discussion with Felix DeLattre. He says that I have no role to edit on hot.openstreetmap.org. I wonder how I was able to write all the updates so far.

Could somebody look at Account pierre dot beland and fix the role problem with this account?

Country field does not allow selection

Reported by @jaakkoh:

I tried to create a Drupal account for Tyler but didn't succeed as the country field is required but on my screen (using Windoze and Chrome) I couldn't enter any value to it nor do I see drop down values.

Get Involved and About pages overhaul

Most of the static information available on the website is far out of what people would read on a screen. This all needs a good work on shorting in a good way most of the information, especially in the "About" and "Get involved" sections.

I would suggest that any volunteer could just start working on texts, upload them to a suitable and accessible web service so @wonderchook (i guess?) can review them and somebody puts them up then.

  • About
  • Get Involved

Rethink second level navigation

When visiting the "About", "Leadership" or "Get involved" sections we have a second level navigation menu on the right side as a block.

Let this issue to be used to see if we can/want to improve this. Alternatives, I have in my head, could be a drop down navigation or a second line under the first level navigation. Both are generally more intuitive for visitors and would not take so much space away than a whole sidebar.

Opinions?

Restructure "Get involved" and "Who we are" sections

I think we need to be strategic about the top level headers on the website. I think it makes more sense for the working groups to go under "Get Involved".

I'm thinking that instead of having a "Leadership" tab that should be switched to "Who we are" or something like that. That way we would have under that tab but Leadership and Voting Members.

Thoughts?

@mikelmaron

Boost cache issue on www.hotosm.org

I know this is a duplicate of a closed issue, but it still seems to be happening. I don't know how much of a concern it is since I don't know how much traffic that domain gets as opposed to the hot.openstreetmap.org domain but I thought I would make an issue for it just in case there is something we can do about it.

www.hotosm.org is days behind hot.openstreetmap.org with a boost cache comment that reads:

<!-- Page cached by Boost @ 2015-02-24 12:32:05, expires @ 2015-02-24 13:32:05, lifetime 1 hour -->

Not quite 3 days old.

Slideshare -drupal plugin

A few weeks ago I tried to add slides to the website. It looks like we are missing a plugin for this.

Details
missing a plugin "
You must acquire a free Slideshare API in order for the embedding to function.

Example slides for download/embedding:

http://www.slideshare.net/heatherleson/introduction-to-humanitarian-openstreetmap-team

http://fr.slideshare.net/pierzen/open-streetmap-responsetohumanitariancrisishaiyanebolaieeemontreal20130601
http://www.slideshare.net/AlceSamuelPaul/hot-osm-ieee-international-humanitarian-technology-conference

More details:

This is super easy in Wordpress but there appears to be some drupal issue. I tried the work around and it did not work.

https://drupal.org/node/623404
https://drupal.org/project/slideshare

Others with the issue
https://drupal.org/node/2212917

Here is the code that I used to follow it

[video:slideshare.net/?id=35354658&doc=introductiontohot-140601090645-phpapp01]

[video:slideshare.net/?id=35396359&doc=openstreetmap-response-to-humanitarian-crisis-haiyan-ebola-ieee-montreal-2013-06-01-140602125638-phpapp01]

[video:slideshare.net/?id=35546608&doc=ieee2014techtrainingopenstreetmap20121011-140605191749-phpapp01]

Make a README.md

I'm guessing this repo is drupal code (a copy of the whole drupal codebase?) powering http://hot.openstreetmap.org

Can we add a README.md explaining that (plus some other explanation. Has the code been customised? is it deployed from here somehow?)

The repo currently just has a generic drupal readme.txt file.

Add skip link again

The "skip link" is an accessibility feature for screen readers and should not be removed.

It's not visible in the default theme, so it's no problem having it there either.
Can you put it back?

Drupal security flag

Summary: We need to update Drupal to be more secure.
Urgency: High

"There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates.
There are security updates available for one or more of your modules or themes. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates."

Leadership view

Right now, the board and executive director page (http://hotosm.org/our_board) is a simple page with content, mainly pasted from the people's bio into the page. In #10 a board role field and some logic has been introduced and it would be a logic step to do proper views for a leadership page where the information get's directly pulled from the users' entities.

Admin email for website

Hello,

I just saw, in the website for the admin account and the global site's email address there are different private email addresses. I would suggest to have a special email address for the website, something like [email protected] or [email protected]

The best would be to have it redirected to the techWG email list, or to the one's that are assuming the role of the admin.

Thank you

Jobs functionality

A section with the functionality for separate nodes and an associated view. A date field for the application limit and then it should disappear.

Both for project based jobs as well as internships.

This has also been mentioned in #15.

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.