Skip to content
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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<br />
<a href="https://git-proxy.finos.org">Docs</a>
·
<a href="https://www.finos.org/hubfs/Projects%20%2B%20SIGs/Open%20Source%20Readiness%20OSR/OSR%20Meeting_%20GitProxy%20Jamie%20Slome%20Citi%20Presentation.mp4#t=496">Demo</a>
·
<a href="https://github.com/finos/git-proxy/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=">Report a bug</a>
·
<a href="https://github.com/finos/git-proxy/issues/new?assignees=&labels=&projects=&template=feature_request.md&title=">Suggest a new feature</a>
Expand All @@ -32,6 +34,7 @@
[![Slack](https://img.shields.io/badge/_-Chat_on_Slack-000000.svg?logo=slack&colorA=00C586)](https://app.slack.com/client/T01E7QRQH97/C06LXNW0W76)
[![Stars](https://img.shields.io/github/stars/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/stargazers)
[![Forks](https://img.shields.io/github/forks/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/forks)

</div>
<br />

Expand Down Expand Up @@ -81,6 +84,7 @@ $ git push proxy $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remo
Using the default configuration, Git Proxy intercepts the push and _blocks_ it. To enable code pushing to your fork via Git Proxy, add your repository URL into the Git Proxy config file (`proxy.config.json`). For more information, refer to [our documentation](https://git-proxy.finos.org).

## Documentation

For detailed step-by-step instructions for how to install, deploy & configure Git Proxy and
customize for your environment, see the [project's documentation](https://git-proxy.finos.org/docs/):

Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"eslint-plugin-react": "^7.23.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-player": "^2.16.0",
"react-slick": "^0.30.2",
"react-social-media-embed": "^2.5.13",
"slick-carousel": "^1.8.1"
Expand Down
155 changes: 90 additions & 65 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Layout from '@theme/Layout';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Avatar from '../components/avatar';
import Testimonials from './testimonials';
import ReactPlayer from 'react-player';

/**
* Home page component
Expand All @@ -11,6 +12,9 @@ import Testimonials from './testimonials';
function Home() {
const context = useDocusaurusContext();
const { siteConfig = {} } = context;

const [showDemo, setShowDemo] = React.useState(false);

return (
<Layout title={`${siteConfig.title}`} description={`${siteConfig.tagline}`}>
<div className='hero hero--secondary'>
Expand All @@ -24,6 +28,12 @@ function Home() {
>
Read our Docs
</a>
<button
onClick={() => setShowDemo(!showDemo)}
className='button button--outline button--secondary button--lg margin-left--sm'
>
{showDemo ? 'Hide' : 'Watch'} the demo &nbsp;🎬
</button>
<a
className='button button--outline button--secondary button--lg margin-left--sm'
href='/docs/category/quickstart'
Expand All @@ -40,71 +50,86 @@ function Home() {
<div className='btn yellow'></div>
<div className='btn green'></div>
</header>
<section className='terminal'>
<div className='history'>$ git push</div>
<br />
<span className='prompt'>
You have configured the following push protections and policies:
</span>
<br />
<br />
<div className='prompt margin-left--lg'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 640 512'
fill='green'
>
<path d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z' />
</svg>{' '}
Apache-2.0, MIT license(s) only
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 512 512'
fill='orange'
>
<path d='M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z' />
</svg>{' '}
No secrets detected
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 448 512'
fill='gray'
>
<path d='M448 80v48c0 44.2-100.3 80-224 80S0 172.2 0 128V80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6V288c0 44.2-100.3 80-224 80S0 332.2 0 288V186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6V432c0 44.2-100.3 80-224 80S0 476.2 0 432V346.1z' />
</svg>{' '}
No data files found (.csv, .txt, .log)
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 512 512'
fill='white'
>
<path d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z' />
</svg>{' '}
<span style={{ color: '#FF033E' }}>Author e-mail address does not match domain</span>
</div>
<div className='prompt margin-top--lg'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.8em'
viewBox='0 0 512 512'
fill='red'
>
<path d='M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z' />
</svg>{' '}
Your push has been blocked...
<span className='typed-cursor'>&#9608;</span>
</div>
</section>
{showDemo ? (
<section style={{ background: 'black' }}>
<ReactPlayer
url='https://www.finos.org/hubfs/Projects%20%2B%20SIGs/Open%20Source%20Readiness%20OSR/OSR%20Meeting_%20GitProxy%20Jamie%20Slome%20Citi%20Presentation.mp4#t=496'
controls={true}
width='100%'
pip={true}
stopOnUnmount={false}
playing={true}
/>
</section>
) : (
<section className='terminal'>
<div className='history'>$ git push</div>
<br />
<span className='prompt'>
You have configured the following push protections and policies:
</span>
<br />
<br />
<div className='prompt margin-left--lg'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 640 512'
fill='green'
>
<path d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z' />
</svg>{' '}
Apache-2.0, MIT license(s) only
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 512 512'
fill='orange'
>
<path d='M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z' />
</svg>{' '}
No secrets detected
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 448 512'
fill='gray'
>
<path d='M448 80v48c0 44.2-100.3 80-224 80S0 172.2 0 128V80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6V288c0 44.2-100.3 80-224 80S0 332.2 0 288V186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6V432c0 44.2-100.3 80-224 80S0 476.2 0 432V346.1z' />
</svg>{' '}
No data files found (.csv, .txt, .log)
</div>
<div className='prompt margin-left--lg margin-top--md'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.9em'
viewBox='0 0 512 512'
fill='white'
>
<path d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z' />
</svg>{' '}
<span style={{ color: '#FF033E' }}>
Author e-mail address does not match domain
</span>
</div>
<div className='prompt margin-top--lg'>
<svg
xmlns='http://www.w3.org/2000/svg'
height='0.8em'
viewBox='0 0 512 512'
fill='red'
>
<path d='M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z' />
</svg>{' '}
Your push has been blocked...
<span className='typed-cursor'>&#9608;</span>
</div>
</section>
)}
</div>
</div>
<div className='container text--center margin-top--xl'>
Expand Down
Loading