You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cryptpad/customize.dist
ansuz 44f5aee4ac Dependency management:
move (most) third-party dependencies from www/common/ => www/lib/

* unify less.js files by standardizing on our slightly modified version
* update textFit.js to the latest version
* describe exact versions of files where known, otherwise link to their project sites
3 years ago
..
favicon Add new favicon 4 years ago
fonts Update version string for cptools 4 years ago
images remove unused images 3 years ago
pages Dependency management: 3 years ago
src prototype toolbar collapse 3 years ago
translations Add Hindi translation 5 years ago
404.html Use new favicon in static pages 4 years ago
CryptPad_logo.svg Index page logo and app grid 4 years ago
CryptPad_logo_grey.svg Update grey logo and use in empty Code and Slides 4 years ago
application_config.js remove hardcoded supportLanguage config value 5 years ago
ckeditor-config.js Comments prototype 5 years ago
ckeditor-contents.css Possible fix for the rich text cursor issue with firefox #406 4 years ago
contact.html Use new favicon in static pages 4 years ago
delta-words.js make things actually work 7 years ago
down.html lint compliance 4 years ago
features.html Use new favicon in static pages 4 years ago
four-oh-four.js 404 Page 4 years ago
index.html Use new favicon in static pages 4 years ago
loading.js annotate unusual translation keys so our script recognizes them 4 years ago
login.js clear login token when deleting your account and before logging in 3 years ago
main-favicon.png Use new logo for favicon 4 years ago
main.js add a setting to preserve redirect-to-drive behaviour from the home page 4 years ago
maintenance.html Use new favicon in static pages 4 years ago
messages.js add Japanese to the language selector UI 3 years ago
pages.js update version string to 4.9.0 3 years ago
readme.md rewrite customize/readme.md 8 years ago
template.js WIP restrict registration 4 years ago
terms.html Use new favicon in static pages 4 years ago
what-is-cryptpad.html Use new favicon in static pages 4 years ago

readme.md

Customizing CryptPad

In order allow a variety of features to be changed and to allow site-specific changes to CryptPad apps while still keeping the git repository pristine, this directory exists to allow a set of hooks to be run.

The server is configured to load files from the /customize/ path preferentially from cryptpad/customize/, and to fall back to cryptpad/customize.dist/ if they are not found

If you wish to customize cryptpad, please copy /customize.dist/ to /customize and then edit it there, this way you will still be able to pull from (and make pull requests to (!) the git repository.

Files you may be interested in

  • index.html is the main page
  • main.js contains javascript for the home page
  • application_config.js allows you to modify settings used by the various applications
  • messages.js contains functions for applying translations to various pages
    • look inside /translations/ for the rest of the files which contain translated strings
  • /share/ implements an iframe RPC which allows multiple domains to access the same localStorage
  • /src/ contains source files for html and css (in the form of html templates and .less stylesheets)

All other content which is placed in this directory will be referencable at the /customize/ URL location.