Giter Site home page Giter Site logo

owncloud.org's Introduction

Contributing to ownCloud.org website

Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
https://doc.owncloud.org is not maintained here, but in https://github.com/owncloud/documentation

This repo contains the Wordpress theme for owncloud.org. To setup a (development) environment please note the following.

The theme is work in progress. Some contents are still hardcoded and not cms'ified yet.

Mandatory Plugins

Advanced Custom Fields (ACF) Pro

Install the plugin and import https://github.com/owncloud/owncloud.org/blob/master/acf-export.json

If the custom fields are changed in production please export the custom fields setup and overwrite the acf-export.json file.

WP_SCSS

Processor for SCSS files. SCSS directory: /scss/ CSS directory: /css/ Compiling Mode: Crunched Source Map Mode: None Error Display: Show to logged in users Enqueue Stylesheets: Yes

Co-Authors Plus

https://wordpress.org/plugins/co-authors-plus/ Enables multiple authors on articles

Custom Post Type UI

Handles the administration of custom post types. Please see custom_post_types_export.txt. Import this file to set up all custom post types. If custom post types are changed in production please export and overwrite the file custom_post_types_export.txt.

Shield

https://wordpress.org/plugins/wp-simple-firewall/

Not feature but security relevant. Most important settings are:

  • hide standard wordpress login page (URL changer)
  • enable 2FA
  • enable Bruteforce protection

Less critical plugins

The following plugins are needed for some features but do not impair the websites basic features.

WP Fastest Cache (Pro)

Caches pages for faster content delivery and optimizes script compression and loading. Note that for production environment the /changelog/ URL must be entered as URL rule to not be cached (see "Auto-pull of Changelogs" below)

YOAST! SEO

Mandatory for SEO and page loading optimization.

Recent Tweets Widget

https://wordpress.org/plugins/recent-tweets-widget/

Includes recent tweets from a twitter channel

Contact Form 7

https://wordpress.org/plugins/contact-form-7/

Easily set up contact forms

Material Design for Contact Form 7

https://wordpress.org/plugins/material-design-for-contact-form-7/

Design addon for Contact Forms 7 There are some custom changes on this plugin:

plugins/material-design-for-contact-form-7/freemius/includes/class-freemius.php: remove line 3014: Avoid API call which slows down DB

plugins/material-design-for-contact-form-7/admin/cf7-material-design-admin.php: remove line line 28: Prevent DB performance decrease

This needs to be considered if the plugin gets updated!

Public Post Preview

https://wordpress.org/plugins/public-post-preview/

Enables post preview links

Customizations

Auto-pull of Changelogs

The pages on https://owncloud.org/changelog/ are pulled via cronjob from (for example "server") https://raw.githubusercontent.com/owncloud/core/stable10/CHANGELOG.md

See https://github.com/owncloud/owncloud.org/blob/78f1d3a56b77c4c9fdf0df345776b502525d8e13/functions.php#L259

These pages must not be cached, see the WP Fastest Cache Settings above.

owncloud.org's People

Contributors

343max avatar agssl avatar aspdye avatar crrodriguez avatar danimo avatar davitol avatar deepdiver1975 avatar dragotin avatar felixboehm avatar ganomi avatar gomez avatar guruz avatar hodyroff avatar hurradieweltgehtunter avatar jancborchardt avatar jnweiger avatar jospoortvliet avatar karlitschek avatar lefherz avatar lukasreschke avatar mariekevc avatar morrisjobke avatar peterprochaska avatar pvince81 avatar samualfageme avatar stkjj avatar tobiherr avatar tomneedham avatar tribut avatar wakeup 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

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  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

owncloud.org's Issues

a public wiki for doc

Hi, i woud like to request a public wiki for the dev doc.

As an average coder and a OC noob, im having a hard time to understand your dev doc (its maybe just me). Once I figure/found something out. I always feel that i shoud publish code snippet or more/bether explications.

So a comunity wiki beside or with official doc woud help a lot.
As an example see the archlinux wiki

I aslo really find this site usefull for dev: http://fossies.org/dox/owncloud-5.0.6/

Btw, thx for your work!, OC is moving fast, and becoming a solid player in the feld.

Contribution section of homepage

Frank's original comment:

I think our new homepage should have a stronger hint that ownCloud is developed by an open and volunteer community and everyone can join and help. Perhaps with some direct links how to submit a patch or a bug or a feature request. The "Get involved" section is a good start but should be clearer and perhaps more prominent.

@MariekevC and @jancborchardt Ideas on making this section larger / more prominent. What other content can we include to open it up?

@karlitschek

Removing documentation from website pages

@dragotin @danimo

Am redesigning the layout of the /install page to incorporate the sync clients page (see here).

The /sync-clients page doesn't really add any additional information (beside the testing links which I will move across).

The bulk of it is installation documentation in my opinion and should be moved to a more appropriate location which we can link to.

Do we already have installation documentation (like how to install it on mac...)? If not where should this be copied over?

Just had another look over the page and noticed the changelog. I think this should stay on owncloud.org somewhere as its not documentation as such. Agreed?

Thanks :)

Website migration

I'd like to open this issue to discuss the steps we need to take to move over the new website.

Mentioning relevant people: @karlitschek @danimo

The new website requires us to reinstall Wordpress with a clean database. Copy over the theme from this repository. Import the some wordpress data using the import tool. I suggest that while this happens, we put up a basic html message informing that we are upgrading the website.

Additionally, we need to update the documentation server. I am not sure what is involved in this process. @danimo could you elaborate please.

Finally there is the issue of time. @karlitschek I fear this may take time, of which I don't really have any for 4 weeks. Once it is launched there will inevitably be bugs which I won't be able to attend to straight away. Would we be better to push for this after my exams (13th June onwards?)

Provide a "latest" symlink for the documentation

Hi,

at the moment the version number of OC is used for the documentation like:

http://doc.owncloud.org/server/6.0/admin_manual/

It could be useful to provide a symlink like:

http://doc.owncloud.org/server/latest/admin_manual/

which links to:

http://doc.owncloud.org/server/6.0/admin_manual/

and after the release of OC 7 to:

http://doc.owncloud.org/server/7.0/admin_manual/

This could be used to always link to the latest available documentation on pages like the startpage of:

http://owncloud.org/

There links like the "Write code for the core" or "Write an ownCloud app" is currently linking to http://doc.owncloud.org/server/5.0/developer_manual/ even if the 6.0 version is the more recent one.

Advisories page

In the process of designing a template for the advisories page.

See screen shot 2014-03-26 at 17 00 10

@LukasReschke @jancborchardt How can we spruce this up a bit?

Lukas liked (this)[http://framework.zend.com/security/advisory/ZF2014-01] design for an advisories page. I've copied the components across. Is this all we need?

RSS feed for releases

It would be extremely helpful to have an RSS feed of owncloud.org/changelog/ as a way to be notified of new releases. The normal news RSS has too much other information and minor releases are barely mentioned. Would this be possible?

Better storage format for changelog information

@danimo @karlitschek

Just for discussion. We should think about a better way to store our changelogs rather than very long html pages with, as Daniel said, lots of room for human error. From whatever storage format we choose we can generate html and any other required output formats, parse for errors etc...

Press page

I think at some point we should add a page on the website with some nice looking screenshots and logos for press to use. Otherwise we see these articles still appearing today using ownCloud 3.0 screenshots!

To include:

  • High quality ownCloud.org logo (different sizes, formats?)
  • Screenshots of main server apps (files, gallery, contacts....)
  • Branding guidelines (use of the logo)

Broken top nav for narrow devices

@MariekevC Do you reckon you could have a look at the styling on the top nav when the device is particularly narrow and the site changes to the button and drop down nav.

As shown in the image below, the menu items seem to be hugging the right hand side.

Thanks

screen shot 2014-03-20 at 11 50 15

[WIP] Providers page

@jancborchardt Need some ideas of how to style the providers page.

See the current state: https://staging.owncloud.org/providers/

All of the banners we have are 290 x 70 pixels, which doesn't match the current 3 column framework. What do you think is the best solution?

@MariekevC You know a bit more than me I think about the bootstrap framework. Can we produce a custom sized (smaller) 3 column layout on this page to accommodate the banners better?

Remove deprecated installation.html

Hi,

this was already reported at the documentation bugtracker: owncloud-archive/documentation#136 but i think this is just a leftover from the old documentation as the documentation repos doesn't contain this file anymore.

There are still some users which pointing to this file when having problems with NginX for example as they are using this old NginX config which doesn't work for OC5.

This file really should be removed from owncloud.org.

This file

Search results show page author

I don't think it is appropriate to show the author under each page on the search results in our use case. @MariekevC do you know which file generates this or is it some default Wordpress output we need to overwrite? In the old theme we used to have a file called content-searchresult.php that adjusted the output but that file doesn't seem to do anything now.

screen shot 2014-06-16 at 10 22 13

Loading Other JS Files

Developed a layout.gues.php theme. I have manually changed everything. The background in the CSS load correctly. However the javascript files which are dependent on the animated objects do not.

I have tried searching and even finding the defining php file for $jsfiles and without luck. I have not found a 'hack' to load the js files in my /theme/themename/js/ directory.

You guys were my last resort. Thanks.

[WIP] Documentation theme

Just got it to build, looks awesome thanks!

Only things I can spot that need changing are shown in the screenshot below:
screen shot 2014-04-17 at 13 03 20

(Space after the headings, and not sure what those links are at the top?)

Thanks!

»Apps« page

We should have a page with the best apps which work with ownCloud. I already collect apps on this wiki page: https://github.com/owncloud/core/wiki/Apps

There’s most probably stuff missing, please add that.

@tomneedham we should have an »Apps« page on the website where we list these apps, with icons and stuff. Can wait for after the initial deploy though.

md5sum of download, false security.

I just noticed something that made me smile;

the owncloud tar.bz2 and the md5sum are both stores in the same dir on the same server. Which makes me wonder what the goal was of having the md5sum in the first place.
Any attacker able to compromise the tarball would have been able to also update the md5sum, so it adds no security. Just a false sense of security.
Notice that this doesn't have to mean an actual compromised download.o.o, simple proxy-server attack or dns-attack can do that job too.

I suggest that the md5sum is not just stored on the same server, but instead pasted in a html page on both the owncloud.org and owncloud.com webservers on the download page.
Duplication on both websites greatly helps early detection, but its optional.
It would be highly recommended to switch to https for that page as this secures against various known attacks.

This approach would actually add security, the current solution only gives a false sense of security.

ownCloud 7 Launch Task List

Tasks to be completed before the launch of the new website (along with ownCloud 7):

Content:

  • Home page text
  • Install page
  • Contribute page
  • Security page(advisories need porting, and php render code developed)
  • Contact page
  • Server Installation instructions on /install
  • Add link to advisories page
  • Add sync client testing information
  • Update desktop client screenshot

Design:

  • Documentation design
  • Splash image adjustment
  • Providers page

Tweaks:

  • Fix images on history page
  • Fix images on features page
  • Move menus from Wordpress to php files (header)
  • Move menus from Wordpress to php files (footer)

@jancborchardt @karlitschek @MariekevC

Changes to page locations and editing workflow: just FYI

Hi @karlitschek, @danimo, @dragotin,

Just an FYI for when we flip the switch on the new oc.org website. A few pages have changed in location, and the process for editing them is quite different. I know that the changelog and various bits and pieces around the website get changed when we release new versions. Hopefully this should be loads easier as I've implemented variables in all the relevant pages.

To update versions now all you need to do is make the change in strings.php: https://github.com/owncloud/www/blob/master/strings.php and all will be done for you :)

For both desktop and server sides there are various strings to represent the different versions available (daily, stable, testing etc). Adjusting the major stable version of the server will automatically change all of the documentation links to link to the newest stable version.

Also, the changelogs have changed location. As with the rest of the content, they are now stored in the git repo. Server is here https://github.com/owncloud/www/blob/master/page-changelog.php and desktop is here: https://github.com/owncloud/www/blob/master/page-desktop.php. I've adjusted the syntax to be consistent between the two.

Additionally, the desktop changelog can now be found at /changelog/desktop. I will put a redirect in place from the old location.

/sync-clients no longer exists. The information has been condensed down into the /install page. Again I will put a redirect in place. You can link to /install#desktop,#mobile and #server to scroll to the correct sections.

None of this is set in stone 100% because we haven't launched yet so shout out if any of the above is going to cause problems.

Contribook author avatars missing

Is there a way in CSS we can add like a placeholder image that will show if one of the author avatars is not found? I was thinking of showing it behind, but then I guess you would see the broken image icon on top. Maybe a js tweak?

@MariekevC @jancborchardt ?

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.