1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00

164 Commits

Author SHA1 Message Date
Mike Linksvayer
5052d34b11 rm support for variant display, forgotten in #386 2016-04-16 10:07:30 -07:00
Ian Lee
ff122da796 Add 's' when only a single license
When `using.size` == 1, add an 's' to the using sentence.
2016-04-09 15:24:15 -07:00
Ian Lee
4a39b82795 Fixed bug with include when using.size == 1
If using.size is 1, then the resulting html would be "and PROJECT use the ..." without anything being listed before the "and".
2016-04-09 15:20:13 -07:00
Mike Linksvayer
b4cf070a82 rm no longer pertinent fields and tests 2016-04-07 18:48:15 -07:00
Mike Linksvayer
baddd740af remove family display elements, add spectrum explanation 2016-04-07 17:49:56 -07:00
Mike Linksvayer
5e41181f25 replace /licenses listings with spectrum
(on home page, non-hidden) -> (agplv3 to unlicense)

no explanation or cruft removal done yet
2016-04-07 16:08:58 -07:00
Mike Linksvayer
850a5c2b06 make lonely h5 a h3 https://github.com/github/choosealicense.com/pull/382#issuecomment-204634348 2016-04-04 10:58:44 -07:00
Leo F
bfd43e2d04 Display description and nickname in sidebar (#355)
Added if for nickname since some of the licenses may not have a nickname.
2016-04-01 19:17:56 -07:00
Mike Linksvayer
1178f03498 curated
as suggested in line comment by @benbalter
2016-03-14 11:58:17 -07:00
Mike Linksvayer
7bce113189 Demystified -> made
Claiming open source licenses need to be demystified is a claim
that they are mysterious. Choosealicense.com is not *Capital*; its
topic does not need to be mystified and demystified at once.

http://robertpaulwolff.blogspot.com/2014/09/more-on-language-and-social-reality.html

Someone encountering open source licenses for the first time at
choosealicense.com should have zero reason to think open source
licensing is mysterious.
2016-03-14 00:26:16 -07:00
Mike Linksvayer
37f065425b always usually evaluates to false
Remove "If you have questions or issues, it is always best to consult
a legal professional."

It's not always best, especially considering it's costly and for
most finding one knowledgable about open source licensing will be
difficult.

If it were always best, the site should consist of

<h1>Consult a legal professional.</h1>

But seriously, claiming one should consult a legal professional is
no way to make choosing an open source license non-scary.
2016-03-14 00:19:53 -07:00
Mike Linksvayer
b4979b3dd4 remove <p> and </p> added by markdownify 2016-03-10 20:09:35 -08:00
Mike Linksvayer
e0299c5521 markdownify filter on fields for which markdown is OK
as suggested by @benbalter in / fixes #367

also use markdown to make EUPL boilerplate linked
2016-03-10 09:36:33 -08:00
Mike Linksvayer
1e7e054a26 Merge remote-tracking branch 'origin/gh-pages' into gplv3-home 2016-03-05 10:08:16 -08:00
Mike Linksvayer
ab3ee0061b take projects listed on homepage from license using property 2016-03-02 18:23:31 -08:00
Mike Linksvayer
e500227ce0 change some links to https
CI failed on a bunch of links, spurious, this just opportunisitc
to also kick CI
2016-03-01 14:14:11 -08:00
Mike Linksvayer
810eeb5618 rename/order license properties better reflect how licenses work
and are structured

grant (permissions)
conditioned on (conditions)
with limitations

Permissions coming first combats mistaken but apparently widespread
impression that licenses impose conditions, even such that without
a license, there would be no conditions/work would be in the public
domain.

Requirements->Conditions emphasizes that they are pertinent if one
wants to take advantage of permissions.

Forbiddens->Limitations is more accurate: in most cases licenses
don't give permission to hold licensors liable, in some cases to
use licensors' trademarks or patents, but a licensee does not lose
the permissions granted by the license if the licensee holds licensor
liable, etc. Also emphasizes that there are limitatations on the
license grant, not that the license imposes prohibitions.

The most concise place to see both the rename and reorder is in
_includes/license-overview.html

I did not reorder the appearance of the groups of properties in
license source files (.txt files in _licenses) as those orderings
are not used to render anything on the webiste. Might do so later.
2016-03-01 13:33:15 -08:00
Mike Linksvayer
6df14f2d42 Merge branch 'content-B' of https://github.com/afeld/choosealicense.com into food-licenses 2016-02-25 18:18:41 -08:00
Mike Linksvayer
1b39c98fe4 use slugify per @benbalter suggestion 2016-02-13 17:57:44 -08:00
Mike Linksvayer
c04ea11e17 Remove need for tab-slug 2016-02-12 15:51:44 -08:00
Aidan Feldman
b24913bb5e Merge remote-tracking branch 'origin/gh-pages' into content-B 2015-11-02 12:35:14 -05:00
Waldir Pimenta
b2eed043eb make sidebar template match the new format of the 'using' list 2015-11-02 16:36:55 +00:00
Ben Balter
4e9d7bca05 Merge pull request #293 from waldyrious/rename-category-family
rename category --> family (fix #288)
2015-11-02 09:19:36 -05:00
Ben Balter
5feefc222c properly escape title in breadcrumb 2015-10-31 14:32:29 -04:00
Ben Balter
44b315f6bf Merge branch 'gh-pages' of https://github.com/github/choosealicense.com into gh-pages 2015-10-30 13:29:47 -04:00
Ben Balter
2db11a04bb add jekyll-seo-tag 2015-10-30 13:29:42 -04:00
Alexis Tyler
bf4f854060 Replaced zeroclipboard with clipboard.js 2015-10-25 15:17:13 +10:30
Ben Balter
a995dbd650 implement the 👌 suggestions of @leeereilly 2015-10-23 18:14:36 -04:00
Ben Balter
d882e69ec1 add microdata site name 2015-10-23 18:12:39 -04:00
Ben Balter
2caf7043fa add json-ld breadcrumbs 2015-10-23 18:10:21 -04:00
Ben Balter
34368e5c32 add fallback description 2015-10-23 17:58:46 -04:00
Ben Balter
4f54fc5c07 add seo include 2015-10-23 17:50:25 -04:00
Waldir Pimenta
6cbb454cb6 Merge branch 'gh-pages' into rename-category-family 2015-09-25 18:13:19 +01:00
Brandon Keepers
4abf1f6a57 Merge remote-tracking branch 'origin/gh-pages' into mjastrzebowski-gh-pages
* origin/gh-pages: (162 commits)
  hard wrap
  Normalize sorting of license properties
  Add how, removed layout and permalink
  Update ms-rl.txt
  Update ms-pl.txt
  Update ms-rl.txt
  Update ms-pl.txt
  normalize metadata
  add bsd-3-clause-clear to whitelist
  add rules spec
  whitespace
  rename to license_category
  move meta and fields to yaml
  formalize whitelist
  Revert "remove OSI appoval requirement"
  remove OSI appoval requirement
  fix up wtfpl;
  smart license list filtering
  fix ofl title
  rename ofl so tests pass
  ...
2015-09-19 23:15:01 -04:00
Waldir Pimenta
ba91c766d6 rename category --> family (fix #288) 2015-09-09 00:04:34 +01:00
Ben Balter
915c08b821 move meta and fields to yaml 2015-08-22 15:25:16 -04:00
Ben Balter
7601d76816 smart license list filtering 2015-08-19 16:25:47 -04:00
Ben Balter
ecda3577b3 Merge pull request #227 from shinnn/gh-pages
Change variable names of Google Analytics tracking code
2015-04-27 17:54:36 -04:00
Ben Balter
1058d71b2e use sass 2015-03-08 10:32:19 -04:00
Ben Balter
0ca328b53a add nicknames for license list 2015-03-07 14:11:34 -05:00
shinnn
9133e8d468 Change variable names of Google Analytics code
`i` `s` `o` `g` `r` `a` `m` -> `L` `I` `C` `e` `N` `C` `E`

It is generated by isogram.
https://github.com/shinnn/isogram
2015-01-15 01:56:23 +09:00
Ben Balter
580082f408 fix tooltips 2014-09-05 11:26:54 -04:00
Ben Balter
22cc77f12b first pass at jekyll2ification 2014-07-31 12:36:56 -04:00
shinnn
8dc995b3b0 Update URL of TLDRLegal 2014-02-16 12:52:16 +09:00
Ben Balter
4b1e2b8c2b move bower to assets/vendor so we can version the swf 2014-01-31 20:11:03 -05:00
Ben Balter
df100c9348 bower *all* the things 2014-01-31 14:25:45 -05:00
XhmikosR
0b3e63d82c Update normalize.css to v3.0.0. 2014-01-28 20:24:07 +02:00
XhmikosR
13a55ffc4a Update ZeroClipboard to v1.3.1. 2014-01-28 20:23:14 +02:00
Phil Haack
fae11df56c Remove google verification header
I don't think we need this now that we've verified the site.
2014-01-27 09:20:20 -08:00
Phil Haack
f632357a8e Add meta tag for google webmaster tools 2014-01-26 21:26:48 -08:00
XhmikosR
07491fb984 Improve fix from 098369b33f694becf53fcdd9535c631e3f18a062.
Remove extra newlines which aren't needed.
2014-01-23 22:27:24 +02:00
Phil Haack
d799d37492 Merge pull request #180 from XhmikosR/selectivizr
Selectivizr
2014-01-23 10:37:48 -08:00
XhmikosR
601c8fdf45 Revert "Remove selectivizr-min.js."
This reverts commit b6728c75021002615502516a1df97fd1a3552d63.
2014-01-23 11:08:47 +02:00
XhmikosR
5e3ffdfa9e Update ZeroClipboard to v1.3.0. 2014-01-23 10:11:21 +02:00
Aidan Feldman
b1275252c5 add page around licensing content 2014-01-12 23:05:58 -05:00
Anatol Broder
098369b33f Make sure titles are in smarty pants 2014-01-03 19:34:51 +01:00
Michał Jastrzębowski
4654244cd8 first responsive version 2013-12-20 00:27:35 +01:00
Aidan Feldman
49e50f6390 Don't ignore all '#' URLs when running HTML::Proofer
Explicitly ignore the clipboard button from proofing, which was why the
:href_ignore was there in the first place.  Per
https://github.com/github/choosealicense.com/pull/104/files#r7311111.
2013-12-18 03:28:01 -05:00
XhmikosR
b6728c7502 Remove selectivizr-min.js.
It's not needed anymore as things work pretty good with old browsers.
2013-12-16 18:45:28 +02:00
XhmikosR
b7bc7b17df Use qTip from the first mirror instead of the cloudflare distribution. 2013-12-16 18:45:28 +02:00
XhmikosR
c5920533f5 Update application.css.
* clean up unused class and inherited properties
* move `.button` along with the rest of the selectors from that page
* remove `-moz-inline-stack` which was needed for old FF
2013-12-16 18:45:28 +02:00
XhmikosR
22eae2af38 Use a CSS sprite for the license images.
-3 HTTP requests.
2013-12-16 10:13:32 +02:00
Phil Haack
84f6e89264 Merge pull request #157 from XhmikosR/html5shiv
Remove modernizr.js and use html5shiv.js directly.
2013-12-15 18:12:41 -08:00
XhmikosR
af57b063c0 _includes/license-overview.html: Fix validation errors.
Include the `id` only if `variation.tab-slug` is set.
2013-12-15 14:23:34 +02:00
XhmikosR
9d1663d6db Remove modernizr.js and use html5shiv.js directly. 2013-12-15 09:06:58 +02:00
XhmikosR
db22e94170 Use double quotes. 2013-12-14 21:45:03 +02:00
XhmikosR
ad54d65493 Refactor header.html's properties. 2013-12-14 21:45:02 +02:00
XhmikosR
2732cf40c0 Rename folders to the shorter and more standard "img" and "js". 2013-12-14 12:44:29 +02:00
XhmikosR
3989f02359 Combine javascript files.
Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved.
2013-12-13 18:39:49 +02:00
XhmikosR
dc4309bd02 Rename clearfix class. 2013-12-10 09:04:20 +02:00
XhmikosR
593ec5edb6 Get rid of the unicode symbol from selector's name and use class instead of id. 2013-12-10 09:04:19 +02:00
XhmikosR
0266eb712f normalize.min.css: Put back the license header.
It was accidentally removed.
2013-12-09 20:23:45 +02:00
XhmikosR
d9adaf49bd Add normalize.css v2.1.3 minified with clean-css. 2013-12-09 19:46:40 +02:00
XhmikosR
6087197be5 Include jquery.qtip.min.css in application.css.
This results in -1 http request.
2013-12-09 10:18:07 +02:00
XhmikosR
ed82abd725 _includes/header.html: include the page class in body only if it exists. 2013-12-08 18:18:36 +02:00
XhmikosR
322a1b0c74 _includes/sidebar.html: fix indentation. 2013-12-08 18:18:36 +02:00
Aidan Feldman
c75fee1469 fix for license variations 2013-11-29 21:05:49 -05:00
Aidan Feldman
8ff2565f0b sort rules by label 2013-11-29 20:57:35 -05:00
Haacked
21347f4538 Give tabs ids 2013-11-19 09:30:11 -08:00
Haacked
6f36d6bfcb Hide pill nav for a single license 2013-11-18 17:00:15 -08:00
Haacked
4ce71929ad Merged master 2013-11-18 15:06:19 -08:00
Haacked
94389c5873 Implement license family tabs 2013-11-18 14:48:32 -08:00
Jason Long
f28894d905 made partial for license overview sections 2013-11-06 11:24:34 -05:00
XhmikosR
c1c291b379 Use double quotes consistently. 2013-10-30 20:39:55 +02:00
XhmikosR
e805e5365f Fix validation error. 2013-10-30 20:39:55 +02:00
XhmikosR
19a96450c0 HTML5 cleanup.
* remove type for css and js since they're the defaults
* remove chrome=1 from X-UA-Compatible since it's become obsolete
* use the protocol relative URL for the google font
2013-10-30 20:39:55 +02:00
XhmikosR
46f4a5901a Update ZeroClipboard to v1.2.1. 2013-10-30 20:34:52 +02:00
XhmikosR
81f3bc1eb7 Update jquery.qtip to v2.1.1.
Also use the minified css.
2013-10-30 20:34:52 +02:00
XhmikosR
eccbe2438b Update jquery to v1.10.2. 2013-10-30 20:34:52 +02:00
XhmikosR
d1ae44f146 Remove trailing spaces. 2013-10-30 20:34:52 +02:00
Aidan Feldman
1b5debd6bf fix 'using' display in sidebar 2013-10-22 23:58:31 -07:00
Andreas Renberg (IQAndreas)
800d8bbdb8 Only include link to source if one has been provided
Not all licenses have provided a `source` property, so this check just
prevent an empty `href` in such cases.
2013-10-23 07:37:32 +02:00
Jason Long
85755edd74 put license text in lighter container for better contrast 2013-09-25 08:58:07 -04:00
enyst
a0e3974eb3 Added "legal" qualifier to clarify a legal professional is advisable. 2013-08-19 23:55:46 +03:00
enyst
daa1ada6bc Rephrase advice to consult a legal professional. Fixes #57 2013-08-18 22:47:53 +03:00
Ben Lavender
1cdd11eb01 Whitespace rules everything around me. 2013-07-18 11:08:24 -05:00
Ben Lavender
b080b5e2fe Don't replace on how fields; no longer needed 2013-07-17 17:30:55 -05:00
dpen2000
5c9c18e7c3 Strip html from description when displaying in meta tag 2013-07-15 20:50:09 +01:00
Ben Balter
5411a48f8f add google analytics tracking code to footer 2013-07-15 12:40:40 -04:00
Ben Balter
565d35107e Merge pull request #98 from github/tos
Custom Terms of Service
2013-07-15 06:35:13 -07:00