Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Now use https protocol for links to refinerycms.com #3323

Merged
merged 3 commits into from
Nov 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ inclusion.

## Links ##

See also the [Contributing to Refinery](http://refinerycms.com/guides/contributing-to-refinery) guide.
See also the [Contributing to Refinery](https://www.refinerycms.com/guides/contributing-to-refinery) guide.
2 changes: 1 addition & 1 deletion core/app/views/refinery/_site_bar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id='site_bar'>
<div id='site_bar_content' class='clearfix'>

<%= link_to 'http://refinerycms.com', :id => 'site_bar_refinery_cms_logo', :target => '_blank' do %>
<%= link_to 'https://www.refinerycms.com', :id => 'site_bar_refinery_cms_logo', :target => '_blank' do %>
<%= image_tag 'refinery/refinery-cms-logo.svg', alt: 'Refinery CMS™' %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion core/refinerycms-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.summary = %q{Core extension for Refinery CMS}
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most extensions}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.homepage = %q{https://www.refinerycms.com}
s.rubyforge_project = %q{refinerycms}
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski']
s.license = %q{MIT}
Expand Down
14 changes: 7 additions & 7 deletions doc/guides/1 - Getting Started/2 - Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The extensions Refinery comes with are:

## Creating a new Refinery project

![](/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTJfMDdfMTRfNjQ3X3JpY2tfYXN0bGV5X25ldmVyX2dvbm5hX2dpdmVfeW91X3VwLmpwZyJdXQ/rick-astley-never-gonna-give-you-up.jpg?sha=d5fdafec8a158121)
![Never gonna give you up](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTJfMDdfMTRfNjQ3X3JpY2tfYXN0bGV5X25ldmVyX2dvbm5hX2dpdmVfeW91X3VwLmpwZyJdXQ/rick-astley-never-gonna-give-you-up.jpg?sha=d5fdafec8a158121)

If you follow this guide, you'll create a Refinery site called `rickrockstar` that will have a custom design. Then you'll be ready to go further in the following guide and add events extension to allow Rick to tell his fans when his next gig is.

Expand Down Expand Up @@ -137,7 +137,7 @@ $ rails server

This will fire up an instance of the built-in Rails web server by default (called WEBrick). To see your application in action, open a browser window and navigate to <http://localhost:3000/refinery>. You should be greeted with a screen prompting you to create your first Refinery user.

![](/system/images/W1siZiIsIjIwMTIvMDMvMDQvMTRfMTFfMjRfOTkzX3NldF91cF95b3VyX2ZpcnN0X3VzZXIucG5nIl1d/set-up-your-first-user.png?sha=42b2ae6479070760)
![Set up your first user](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTIvMDMvMDQvMTRfMTFfMjRfOTkzX3NldF91cF95b3VyX2ZpcnN0X3VzZXIucG5nIl1d/set-up-your-first-user.png?sha=42b2ae6479070760)

__TIP__: To stop the web server, hit `Ctrl+C` in the terminal window where it's running.

Expand All @@ -151,7 +151,7 @@ Fill out the sign up form to create your first user. This will be the super user

Once you've created your first user you'll see Refinery's admin.

![](/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfNzIxX2Rhc2hib2FyZC5wbmciXV0/dashboard.png?sha=d05ed9da6bb78669)
![Old Dashboard image](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfNzIxX2Rhc2hib2FyZC5wbmciXV0/dashboard.png?sha=d05ed9da6bb78669)

### Setting Your Site Name

Expand All @@ -173,13 +173,13 @@ Now you're setup, click around the various tabs in the backend and become famili

### Switching to your front-end

![](/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTJfNTdfMDZfNDIyX3N3aXRjaF90b193ZWJzaXRlLnBuZyJdXQ/switch-to-website.png?sha=a13b44877a69739e)
![Website Frontend](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTJfNTdfMDZfNDIyX3N3aXRjaF90b193ZWJzaXRlLnBuZyJdXQ/switch-to-website.png?sha=a13b44877a69739e)

You're currently in the back-end Refinery site editor. To see the front-end site, click "Switch to your website".

As you can see, Refinery is already displaying a basic menu and layout ready for you to customise.

![](/system/images/W1siZiIsIjIwMTIvMDMvMjUvMjNfMjVfMThfNjg1X3JlZmluZXJ5X2RlZmF1bHRfZnJvbnRfZW5kX3NtYWxsLnBuZyJdXQ/refinery-default-front-end-small.png?sha=021f1e16d298eb86)
![Default Basic Layout](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTIvMDMvMjUvMjNfMjVfMThfNjg1X3JlZmluZXJ5X2RlZmF1bHRfZnJvbnRfZW5kX3NtYWxsLnBuZyJdXQ/refinery-default-front-end-small.png?sha=021f1e16d298eb86)

### Customising the Design

Expand Down Expand Up @@ -234,7 +234,7 @@ As you can see we're going to render a view with some HTML5 tags and along with

When you edit the About page you'll see something like this:

![](/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfNDg5X2Fib3V0X3BhZ2VfZWRpdC5wbmciXV0/about_page_edit.png?sha=6d88aaa196ad01a2)
![Editing the about page](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfNDg5X2Fib3V0X3BhZ2VfZWRpdC5wbmciXV0/about_page_edit.png?sha=6d88aaa196ad01a2)

You'll notice two tabs on the page: "Body" and "Side Body". These are `PageParts`, or in other words, a single piece of content attached to this page that you can render in your view. There is a "Body" tab with some content on this screen. To render that same content in your view, put:

Expand Down Expand Up @@ -286,7 +286,7 @@ __TIP__: You can add CSS for specific pages by using their slug with `-page`. Th

Now when you view your front-end at <http://localhost:3000/about> you'll notice your site has a grey background, with a horizontal menu and two white content areas.

![](/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfMjI3X2RlZmF1bHRfZGVzaWduX3NtYWxsLnBuZyJdXQ/default-design-small.png?sha=84c3f6a40328b9a6)
![Default design - small image](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfMjI3X2RlZmF1bHRfZGVzaWduX3NtYWxsLnBuZyJdXQ/default-design-small.png?sha=84c3f6a40328b9a6)

### What we just did

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ __WARNING__: This guide is based on Refinery CMS 2.1.0 so some of the code shown

## Guide Assumptions

This guide continues the Rick Rock Star example from the [Getting Started](/guide/getting-started/) guide. You will need to have Refinery installed and running as explained in that guide.
This guide continues the Rick Rock Star example from the [Getting Started](/guides/getting-started/) guide. You will need to have Refinery installed and running as explained in that guide.

This guide does not assume that you have any prior experience with Refinery beyond what is covered in the [Getting Started](/guide/getting-started/) guide, but it does assume that you are somewhat familiar with Rails. If you are not familiar with Rails, you will still be able to step through the guide but you may not fully understand all of the commands or code. Here are some resources to learn more about Rails:
This guide does not assume that you have any prior experience with Refinery beyond what is covered in the [Getting Started](/guides/getting-started/) guide, but it does assume that you are somewhat familiar with Rails. If you are not familiar with Rails, you will still be able to step through the guide but you may not fully understand all of the commands or code. Here are some resources to learn more about Rails:

* [Ruby on Rails](http://rubyonrails.org/)
* [Ruby on Rails Guides for v3.2](http://guides.rubyonrails.org/v3.2.14/) - Note that these are the guides for Rails version `3.2` since that is the version Refinery requires.
Expand Down Expand Up @@ -47,7 +47,7 @@ Here is a list of the most often used field types and what they give you:
-------------------- -------------------------------------------------------------------------------------------------------
```

If you remember from the [Getting Started](/guide/getting-started/) guide, we told Rick that we'll give him an area to post up events he'll be at. Although we could technically create a new page in Refinery to add the event content there, areas that have special functionality are much better suited as an extension.
If you remember from the [Getting Started](/guides/getting-started/) guide, we told Rick that we'll give him an area to post up events he'll be at. Although we could technically create a new page in Refinery to add the event content there, areas that have special functionality are much better suited as an extension.

Rick is going to want to enter the following information about each event:

Expand Down Expand Up @@ -131,7 +131,7 @@ __TIP__: Models in Refinery extensions expect a string field that acts as the ti
Now go to the backend of your Refinery site ([http://localhost:3000/refinery](http://localhost:3000/refinery)) and
you'll notice a new tab called "Events". Click on "Add new event" and you'll see something like this:

![](/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfODYwX2V2ZW50X3BhZ2VfZWRpdC5wbmciXV0/event_page_edit.png?sha=d45dd13cf1a97d8f)
![Adding an event](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTMvMDYvMDkvMjNfNTdfNDRfODYwX2V2ZW50X3BhZ2VfZWRpdC5wbmciXV0/event_page_edit.png?sha=d45dd13cf1a97d8f)

You'll see the entire form has been generated for you based off the field types you specified when generating the events section. The blurb has a visual editor, the date field is a date picker and the photo allows you to pick or upload a new photo from a built-in Refinery dialog.

Expand All @@ -141,9 +141,9 @@ Now click on "Switch to your website", and navigate to <http://localhost:3000/ev

You'll notice not only has Refinery generated the backend "Events" tab but also a new menu item called "Events" and two new front-end views,`index.html.erb` and `show.html.erb`, located in `vendor/extensions/events/app/views/refinery/events/` for you to customise.

![](/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfNDE1X2V2ZW50c19lbmdpbmVfc21hbGwucG5nIl1d/events-engine-small.png?sha=d3af41646dd136ba)
![Events frontend with undesired ordering](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfNDE1X2V2ZW50c19lbmdpbmVfc21hbGwucG5nIl1d/events-engine-small.png?sha=d3af41646dd136ba)

As you can see, Refinery makes it insanely easy to quickly add new extensions to manage various areas of a site.
As you can see, Refinery makes it really easy to quickly add new extensions to manage various areas of a site.

But I've noticed one problem. The "2011 Music Awards" is showing up in the middle when it makes more sense to order the events with the latest event at the top. To fix this we need to understand what's happening under the hood of a Refinery extension. Let's dive in.

Expand Down Expand Up @@ -218,7 +218,7 @@ end

Now when you look at <http://localhost:3000/events> you'll notice they're now being sorted by the event date.

![](/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfMzE0X2V2ZW50c19lbmdpbmVfZml4ZWRfc21hbGwucG5nIl1d/events-engine-fixed-small.png?sha=452dcc1cbd2522c3)
![Finished events frontend](https://www.refinerycms.com/system/images/W1siZiIsIjIwMTAvMTIvMDIvMTRfMjRfNTFfMzE0X2V2ZW50c19lbmdpbmVfZml4ZWRfc21hbGwucG5nIl1d/events-engine-fixed-small.png?sha=452dcc1cbd2522c3)

## What's Next?

Expand Down
6 changes: 3 additions & 3 deletions doc/guides/1 - Getting Started/4 - How to get help.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ One of Refinery's key principles is "Encourage and Help Others" so if you have a

Connect to our [Refinery Gitter channel](https://gitter.im/refinery/refinerycms).

If you ask a question and don't get an immediate response, don't take offence; either wait a half-hour and ask again, or just post your question on the [Google Group](http://group.refinerycms.org) instead. This gives developers who are in other timezones or who are temporarily unavailable a chance to help you out.
If you ask a question and don't get an immediate response, don't take offence; either wait a half-hour and ask again, or just post your question on the [Google Group](https://groups.google.com/forum/#!forum/refinery-cms) instead. This gives developers who are in other timezones or who are temporarily unavailable a chance to help you out.

Please remember that Refinery is a fully open-source application. None of us are paid to fix it or improve it; we do so because we like Refinery and we greatly appreciate its value. Unfortunately, we cannot immediately drop everything to solve a problem for you (as much as we'd like to). Be patient, and try to figure out the problem on your own while you wait. The more information you can dig up yourself, the easier it is for us to help you resolve your issues expediently.

## Google Group

The [Refinery CMS Google Group](http://group.refinerycms.org) is a great place to ask for help if you don't get a response on Gitter. Your first message may take a short while to appear, as all first-time posters are required by Google Groups to pass moderation.
The [Refinery CMS Google Group](https://groups.google.com/forum/#!forum/refinery-cms) is a great place to ask for help if you don't get a response on Gitter. Your first message may take a short while to appear, as all first-time posters are required by Google Groups to pass moderation.

## Other places

* API (click 'File List' in top right) - <a href="http://api.refinerycms.org" title="http://api.refinerycms.org">http://api.refinerycms.org</a>
* [GitHub Wiki](https://github.com/refinery/refinerycms/wiki)
* [Guides](http://refinerycms.com/guides)
* [Guides](https://www.refinerycms.com/guides)
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Check that the file is still where Dragonfly saved it.

Refinery/Dragonfly allow you to use stores like Amazon S3, Couch and Mongo, or to write your own.

Refer to Refinery's Guide [Amazon S3 for Uploads](http://refinerycms.com/guides/amazon-s3-for-uploads) or to
Refer to Refinery's Guide [Amazon S3 for Uploads](/guides/amazon-s3-for-uploads) or to
Dragonfly's [Data Store document](http://markevans.github.io/dragonfly/data-stores/).

## Dragonfly.log
Expand Down
2 changes: 1 addition & 1 deletion doc/guides/7 - Hosting and Deployment/1 - Heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Simply add that gem to the Gemfile.

Double check your `S3_` information and make sure that the right buckets actually exist. You can confirm against the values Heroku has recorded by running `heroku config`.

See the [How to use Amazon S3 for uploads](http://refinerycms.com/guides/amazon-s3-for-uploads) guide for more specific information on file storage.
See the [How to use Amazon S3 for uploads](/guides/amazon-s3-for-uploads) guide for more specific information on file storage.

### Other problems?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ENV['S3_SECRET']='fill_in_your_secret_key_here'
ENV['S3_BUCKET']='fill_in_your_bucket_name_here'
```

__Note__: For Heroku, you should use [config vars to set your environment variables](http://refinerycms.com/guides/heroku))
__Note__: For Heroku, you should use [config vars to set your environment variables](/guides/heroku))

Another option, especially if you experience `Dragonfly::DataStorage::S3DataStore` exceptions, is to configure your
Amazon S3 credentials in `config/initializers/refinery/core.rb` using the following syntax:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Next make your changes or new guide in the `doc/guides` folder.

Now go to <https://github.com/refinery/refinerycms> and click "Pull Request".

After we review it, we'll merge it into the master refinerycms repository, and the changes will be up [Refinery CMS Guides](http://refinerycms.com/guides) within a few seconds.
After we review it, we'll merge it into the master refinerycms repository, and the changes will be up [Refinery CMS Guides](https://www.refinerycms.com/guides) within a few seconds.

## Why submit a guide?

The majority of Refinery CMS remains undocumented as development happens quickly. We'd appreciate it very much if you submitted a new guide or updated old ones. Here are some reasons for doing so:

* You will be listed as a contributor at [github](https://github.com/refinery/refinerycms/contributors)
* Help others who face the same issues
* Reduce the amount of time the core team spends on support so they can focus on making Refinery even better
* Reduce the amount of time the core team spends on support so they can focus on making Refinery even better
2 changes: 1 addition & 1 deletion images/refinerycms-images.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.summary = %q{Images extension for Refinery CMS}
s.description = %q{Handles all image upload and processing functionality in Refinery CMS.}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.homepage = %q{https://www.refinerycms.com}
s.rubyforge_project = %q{refinerycms}
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski']
s.license = %q{MIT}
Expand Down
2 changes: 1 addition & 1 deletion pages/refinerycms-pages.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.summary = %q{Pages extension for Refinery CMS}
s.description = %q{The default content extension of Refinery CMS. This extension handles the administration and display of user-editable pages.}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.homepage = %q{https://www.refinerycms.com}
s.rubyforge_project = %q{refinerycms}
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski']
s.license = %q{MIT}
Expand Down
22 changes: 11 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__An open source content management system for Rails 5.1+__

More information at [http://refinerycms.com](http://refinerycms.com)
More information at [https://www.refinerycms.com](https://www.refinerycms.com)

[![Build Status](https://travis-ci.org/refinery/refinerycms.svg?branch=master)](https://travis-ci.org/refinery/refinerycms) [![Code Climate](https://codeclimate.com/github/refinery/refinerycms.svg)](https://codeclimate.com/github/refinery/refinerycms) [![Coverage Status](https://img.shields.io/coveralls/refinery/refinerycms.svg)](https://coveralls.io/r/refinery/refinerycms?branch=master)

Expand All @@ -20,27 +20,27 @@ You can chat with us using Gitter:

## How to

* __[Install Refinery CMS™](http://refinerycms.com/download)__
* [Install Refinery CMS™ on Heroku](http://refinerycms.com/guides/heroku)
* __[Install Refinery CMS™](https://www.refinerycms.com/download)__
* [Install Refinery CMS™ on Heroku](https://www.refinerycms.com/guides/heroku)
* [Contribute to Refinery CMS™](readme.md#contributing)

## Getting Started

If you're new to Refinery, start with this guide:

* __[Getting Started](http://refinerycms.com/guides/getting-started)__
* __[Getting Started](https://www.refinerycms.com/guides/getting-started)__

For Rails 5.1+ support, you can use version `4.0.x` using this template:

rails new app_name -m http://refinerycms.com/t/4.0.0
rails new app_name -m https://www.refinerycms.com/t/4.0.0

For Rails 4.2.x support, you can use version `3.0.x` using this template:

rails new app_name -m http://refinerycms.com/t/3.0.6
rails new app_name -m https://www.refinerycms.com/t/3.0.6

You can also install the `edge` vesrion for the latest code using this template:

rails new app_name -m http://refinerycms.com/t/edge
rails new app_name -m https://www.refinerycms.com/t/edge

## What's it good at?

Expand All @@ -61,8 +61,8 @@ Wanna see Refinery for yourself? [Try the demo](http://demo.refinerycms.com/refi

## Help and Documentation

* [Getting Started](http://refinerycms.com/guides/getting-started)
* [Guides](http://refinerycms.com/guides)
* [Getting Started](https://www.refinerycms.com/guides/getting-started)
* [Guides](https://www.refinerycms.com/guides)
* [Google Group Discussion](https://groups.google.com/forum/#!forum/refinery-cms)
* [Gitter chat](https://gitter.im/refinery/refinerycms)
* [GitHub repository](https://github.com/refinery/refinerycms)
Expand Down Expand Up @@ -103,7 +103,7 @@ For help run the command without any options:
* [News](https://github.com/refinery/refinerycms-news) - post and manage news items.
* [Inquiries](https://github.com/refinery/refinerycms-inquiries) - simple contact form that notifies you and customer when an inquiry is made.

[Full extension list here](http://refinerycms.com/engines)
[Full extension list here](https://www.refinerycms.com/engines)

### Example Site Showcase

Expand All @@ -112,7 +112,7 @@ For help run the command without any options:
## Contributing

See [contributing.md](contributing.md)
and [Contributing to Refinery](http://refinerycms.com/guides/contributing-to-refinery)
and [Contributing to Refinery](https://www.refinerycms.com/guides/contributing-to-refinery)
guide for details about contributing and running test.

## License
Expand Down
Loading