Commit Graph

108 Commits

Author SHA1 Message Date
Jessica Schilling
92efd3dfd1
Merge pull request #43 from ipfs/fix/links-when-dnslink
feat: improved CID column (filename and dnslink support)
2020-09-28 13:47:30 -06:00
Marcin Rataj
b12c35a229
fix(ci): avoid uncommited changes with custom shells
for some reason `-e` gets interpreted literally at CI.
This removes its use making the output look the same everywhere.
CI will now show diff if uncommited changes to make it easier to see what
caused CI to fail.
2020-09-28 15:00:14 +02:00
Marcin Rataj
3f67a8105a
feat: improved CID column
- Links to direct CIDs now have ?filename= param to preserve name and content type
- When page is loaded on DNSLink website (based on Host header) then
  there is no public gateway endpoint.
  As a replacement, clicking on a CID opens it at cid.ipfs.io

Context: https://github.com/ipfs/dir-index-html/issues/42

Closes #42
2020-09-26 02:59:44 +02:00
Jessica Schilling
dc0400b2c8
Create CHANGELOG.md 2020-08-24 12:10:24 -06:00
Marcin Rataj
df92aca58c
fix: run CI checks on PRs (#41) 2020-07-28 16:16:00 +02:00
Jessica Schilling
9603194e10
Merge pull request #40 from ipfs/feat/add-build-script
feat: Build script
2020-07-27 15:19:41 -06:00
Marcin Rataj
8a9c62e634 Create build.yml
This adds GithubAction that  runs the build and checks for any unstaged
changes. This ensures `src/dir-index.html` match the output `dir-index.html`
in the main directory.
2020-07-27 22:29:13 +02:00
Jessica Schilling
02bcd0481f Minified file to top level, changes scripts and test accordingly 2020-07-27 13:49:19 -06:00
Jessica Schilling
39d74cd3fe Complete with newline from @ribasushi 2020-07-27 11:00:35 -06:00
Jessica Schilling
5b78881185
Update package.json
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2020-07-27 10:55:10 -06:00
Jessica Schilling
45869d3599
Update readme for changes in update/test/release process 2020-07-24 17:22:17 -06:00
Jessica Schilling
269976b385 Add dist asset generated by build script 2020-07-24 17:02:34 -06:00
Jessica Schilling
cf842f9874 Explicit paths in scripts; add script for removing unused items 2020-07-24 16:57:13 -06:00
Jessica Schilling
fde086d38a Point test at dist dir 2020-07-24 16:35:14 -06:00
Jessica Schilling
f10bbf5e6b Remove superflous spaces after colons in css 2020-07-24 16:31:35 -06:00
Jessica Schilling
674440b158 Don't minify spaces 2020-07-24 16:28:46 -06:00
Jessica Schilling
f181cbc5aa Move icons credit comment; basic build script but minifying goes too far 2020-07-24 16:11:24 -06:00
Jessica Schilling
3e83eba8e8 Tidy package.json and add description, homepage 2020-07-24 13:08:59 -06:00
Jessica Schilling
414c0e9650 Relative path css links 2020-07-24 12:02:10 -06:00
Jessica Schilling
bc0496de74 Move html and beautified css into src directory 2020-07-24 12:00:42 -06:00
Jessica Schilling
fa0f5a0697
Update screenshot 2020-07-24 09:34:59 -06:00
Jessica Schilling
92c9126a60
Merge pull request #39 from ipfs/chore/reconcile-uncat
Reconcile dir-index.html and dir-index-uncat.html
2020-07-24 07:31:52 -06:00
Jessica Schilling
2d873fdffb Update stylesheet CID 2020-07-23 16:52:41 -06:00
Jessica Schilling
96eed243f0 Replaces style.css from style used in head of dir-index.html; replaces html in dir-index-uncat with that from dir-index 2020-07-23 15:25:11 -06:00
Jessica Schilling
06c0303c2b Temp switch to in-project local style and icons; WILL NEED TO REVERT BEFORE RELEASE 2020-07-23 14:38:11 -06:00
Jessica Schilling
bdc382b72c Make ipfs-hash class monospace and reuse in table rows 2020-07-23 14:31:06 -06:00
Jessica Schilling
3527e53c2c Remove extraneous meta keywords 2020-07-23 14:17:10 -06:00
Jessica Schilling
354f12b594
Merge pull request #38 from neatonk/master
[BOUNTY] Directory page UI improvements
2020-07-23 14:13:07 -06:00
Kevin Neaton
fbb6b729e9 chore: format test/main.go 2020-07-17 23:59:13 -04:00
Kevin Neaton
deab971dd0 Use gateway URL when linking to another CID root
This is necessary to support subdomain resolution.

E.g. {cid}.ipfs.localhost
2020-07-17 23:44:55 -04:00
Kevin Neaton
ce0dceac34 Use short hash for uniform CID presentation of directory items 2020-07-14 23:25:48 -04:00
Kevin Neaton
c5d042ac5f Fix type-icon size at narrow viewport widths
The presence of additional content in the table was causing the width of the
type-icon column to be reduced. Applying the width to the column and it's
contents prevents this from happening.
2020-07-12 00:21:06 -04:00
Kevin Neaton
84cf3eb263 minify css additions 2020-07-07 09:23:43 -04:00
Kevin Neaton
51e423e4a6 Add CID column 2020-07-07 09:23:36 -04:00
Kevin Neaton
8c03fc4579 Make path components into links 2020-07-02 21:35:41 -04:00
Kevin Neaton
beb1120fde Display viewed directory's size 2020-07-01 21:50:27 -04:00
Jessica Schilling
269b1d03eb
Merge pull request #36 from ipfs/feat/favicon
Add base64 favicon and social sharing meta tags
2020-06-25 16:03:21 -06:00
Jessica Schilling
7f75e7b86d Reverses meta content order for Facebook and others that use the og:foo tags 2020-06-22 17:27:39 -06:00
Jessica Schilling
59b8599bf5 Dynamic titles in both places 2020-06-22 17:14:30 -06:00
Jessica Schilling
0accd43028
Update dir-index-uncat.html
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2020-06-22 17:07:42 -06:00
Jessica Schilling
6c8ed61e33
Update dir-index-uncat.html
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2020-06-22 17:06:32 -06:00
Jessica Schilling
8b9a9e8da9
Update dir-index-uncat.html
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2020-06-22 17:06:21 -06:00
Jessica Schilling
972d42a4b6 Remove duplicate 2020-06-22 16:48:49 -06:00
Jessica Schilling
0bebaf505a Add social card meta tags 2020-06-22 16:39:52 -06:00
Jessica Schilling
9b59f1cc59 Add base64 favicon 2020-06-22 15:05:46 -06:00
Jessica Schilling
08410fcea0
Merge pull request #32 from stensonb/patch-1
update contributing link
2020-05-12 14:14:18 -06:00
Bryan Stenson
632e26d5c7
update contributing link 2020-05-12 20:06:48 +00:00
Jessica Schilling
e39165569c
Merge pull request #29 from ipfs/makeresponsive-removefontrefs
Make responsive, remove extraneous font refs, add video icons, CSS refactor
2020-05-05 11:00:39 -06:00
Jessica Schilling
4bd64553db Updated link color; removed extraneous style from dir-index-uncat.html 2020-05-05 10:01:08 -06:00
Jessica Schilling
174672ab7f Merge branch 'makeresponsive-removefontrefs' of https://github.com/ipfs/dir-index-html into makeresponsive-removefontrefs 2020-05-05 09:24:18 -06:00