Commit graph

2215 commits

Author SHA1 Message Date
Benjamin Neff
f883c6ede2
Add /camo/ to robots.txt
Camo only proxies images hosted somewhere else, so it doesn't make sense
to add the proxied versions to search engines. It only creates traffic
for camo when /camo/* urls are in search results.

closes #7726
2018-02-27 00:47:32 +01:00
Steffen van Bergerem
89f21e87f8 Remove unused code 2016-02-14 02:48:51 +01:00
Jonne Haß
e274470d55 Replace default.html with a regular view
So we can correctly reference the images
2015-03-28 23:12:07 +01:00
Jonne Haß
e7d0a978ba Generate error pages on assets:precompile
This allows us to reuse any CSS we have, unify
their look and unify their look with the regular
page design.

This works by instantiating ActionView and rendering
templates in a rake task.

Inspired by the errgent gem.
2015-03-27 11:15:59 +01:00
Jonne Haß
b4a24bd49e Drop no longer needed and too open crossdomain.xml
It allowed Flash apps on any domain to make requests on
behalf of a signed in user.

Thanks to Oliver Beg for the hint.
2014-11-11 14:25:10 +01:00
Steffen van Bergerem
29d524d836 fix image branding logo_caps 2014-02-09 20:31:01 +01:00
Quazi Marufur Rahman
b7b595d640 Absolute path added for favicon.ico 2014-01-17 00:31:02 +06:00
flaburgan
635f83b240 Fix regression in 404.html 2013-09-22 20:29:35 -07:00
Antoine D
48dcea0746 Fix #4078 by refactoring 404.html
I moved 404 to the assets to avoid loading font and images from joindiaspora.

 #- Can I move the design to a 404-style.css file which will be in the public repository too ?
 #- This pull request proposes to insert the two font files and the cat image, do you agree ? Depend of amazon seems really bad for me.
2013-09-18 15:55:46 -07:00
Nils Vogels
27c4b01350 Adding media files from Joindiaspora's S3 storage
Changing 404 message to no longer use Joindiaspora's media on S3
2013-09-14 20:16:16 +02:00
Duke
13fa4af26f fixed #cat-footer overlay 2013-06-22 02:49:10 +02:00
Jonne Haß
221c1bf959 update all wiki links 2013-06-17 20:00:48 +02:00
rivendale
9aaf7ed422 Update robots.txt comments
clarify comments and update permanently moved URL
2013-06-14 12:58:02 -03:00
Steffen van Bergerem
21ef1c8e41 Remove alpha branding 2013-06-12 23:08:13 +02:00
Flaburgan
3c84f2e0bd Update and refactor default public view, close #3811 2013-01-07 18:04:51 +01:00
Daniel Grippi
b8f7d025d5 update landing page 2012-08-24 13:45:05 -07:00
movilla
f9ce061c09 fix css error default web 2012-08-24 02:01:17 +02:00
movilla
2973f59995 Fix issue #3348 Log In button is off the right side of the screen 2012-08-23 17:50:02 +02:00
danielgrippi
2e320eee8b remove jd.com specific landing page folder from /public [ci skip] 2012-05-11 10:13:07 -07:00
danielgrippi
7423dd095f landing fixes for moz [ci skip] 2012-05-11 02:19:46 -07:00
danielgrippi
4b8cd8eb23 whoopsies on landing [ci skip] 2012-05-11 01:30:15 -07:00
danielgrippi
608a15faf4 the landing page. 2012-05-11 01:06:51 -07:00
danielgrippi
a3ca176d74 new getting started page [ci skip] 2012-05-10 20:43:00 -07:00
danielgrippi
730886c082 MS DG; fix some styling for empty profile state 2012-05-07 12:15:43 -07:00
danielgrippi
b5fbefad4b this changes profile background colors to be dark, and sets up the groundwork for uploading user-selected background images for their profiles. all the styling is in place; what remains is creating a new image uploader and (possibly) a new controller action.
for information on what command to use to darken the background image that's uploaded, see line 11 in `_profile.scss`.  the current image tests in the public folder are results of the convert command noted.
2012-05-06 12:35:10 -07:00
danielgrippi
a5f34e67c7 made favicon sexier; extracted form-block into its own custom class; made the title of pages less caps-lock. 2012-05-04 21:25:50 -07:00
movilla
006742cf04 I think possibly "https://github.com/diaspora/diaspora/issues" better than "http://bugs.joindiaspora.com/" 2012-05-01 23:49:57 +03:00
danielgrippi
c413a494d7 retina-ify icons; fix 404 scrolling issue; serif -> san-serif in some style [ci skip] 2012-04-26 20:25:25 -07:00
danielgrippi
e55b305bca better 404 page. with kittens. 2012-04-26 19:52:41 -07:00
Jonne Haß
30a2a8cb82 fix path to logo in default.html [ci skip] 2012-04-06 17:04:29 +02:00
Maxwell Salzberg
baf16479b8 add some assets which are for bootstrap which seem to need them to be in public. bootstrap-sass should deal with this 2012-04-03 18:01:05 -07:00
Maxwell Salzberg
bb5aa2821d use the built in asset_sync initializer. add a rake task to bootstrap
heroku and asset sync, which puts the S3 config vars in from your app
config.
2012-04-03 14:47:33 -07:00
Maxwell Salzberg
5dbfd89d93 some more fixes for the show pages 2012-03-28 13:56:52 -07:00
Maxwell Salzberg
e1bf6441fe update new js files 2012-03-27 18:26:46 -07:00
Steven Hancock
208fdee0cd Make static error pages load images from /assets 2012-03-27 18:08:28 -07:00
Steven Hancock
3e4bdc4260 Fix image tags in public/default.html to use asset pipeline 2012-03-27 18:08:27 -07:00
Steven Hancock
95d5c9ca68 Fix Jasmine tests - first pass
193 specs | 5 failing

The 5 failing specs appear (according to Firebug) to be due to missing
fixtures and/or missing routes in the Jasmine environment. Fixing these
last 5 failures is a task probably best left to a more experienced
Javascript/Jasmine developer.

This commit also moves validation.js and clear-form.js into
app/assets/javascripts and precompiles validation.js
2012-03-27 18:08:27 -07:00
Steven Hancock
1aa0b15c8c Move Javascript to the asset pipeline
* Move all Diaspora-specific javascripts to app/assets/javascripts
* Move all vendored javascripts to vendor/assets/javascripts
* Add the appropriate Sprockets require directives to make sure
  everything gets included in the right order
* Remove Jammit dependencies
* Fix all templates that were using Jammit's include_javascripts helper
* Add handlebars_assets gem for compiling Handlebars templates
* Move all Handlebars templates to app/assets/templates and rename
  from .handlebars to .jst.hbs (this is to keep them in the same
  global JST namespace that they were in under Jammit)
* Add public/assets to .gitignore since these files can and should
  be re-generated by Heroku or Capistrano during each deploy
* Fix a few Handlebars templates that were looking for images in the
  wrong location (I'm sure there are others, but it's late)
* Configure application.rb to precompile all javascript and css assets
  that were compiled by Jammit in the Rails 3.0 code
2012-03-27 18:07:44 -07:00
danielgrippi
f72f1d4059 more progress 2012-03-27 18:07:22 -07:00
danielgrippi
5b2716d2ef MS DG; move images to assets 2012-03-27 18:07:22 -07:00
danielgrippi
06936bcdce stylesheets are basically now being served from sprockets 2012-03-27 18:07:20 -07:00
Dennis Collinson
6288eff599 day mood for a post responds to content
extract creating a post with templates to a static post view method.

Legacy templates extracted, day view

day mood shows photos and has variable text size
2012-03-27 14:54:27 -07:00
Dennis Collinson
663abcb0aa MS DC Pull out stream post logic into own class 2012-03-27 14:54:27 -07:00
Dennis Collinson
2bb677b34b Revert "a little framer styling"
This reverts commit 0ba13491e50d67360d0ed9e2e77dc8095994b8fd.
2012-03-27 14:52:53 -07:00
Dennis Collinson
010e091f62 a little framer styling 2012-03-27 14:52:53 -07:00
Dennis Collinson
775eca0026 MS DC You can has choose a template 2012-03-27 14:52:53 -07:00
Dennis Collinson
11eb1eb7d8 MS DC fix tests 2012-03-27 14:52:53 -07:00
Dennis Collinson
8c640b179e showing photos in framer 2012-03-27 14:52:52 -07:00
Dennis Collinson
e0b18f5d6c MS DC template picker override 2012-03-27 14:52:52 -07:00
Dennis Collinson
5d5fa084e5 next cuke, fix old 2012-03-27 14:52:52 -07:00