Commit graph

106 commits

Author SHA1 Message Date
thephez
264955d6d7
Config - Remove unused cookie js creating liquid error 2018-12-27 14:33:56 -05:00
thephez
02244aa5f6 Update links to point at correct GH account / repo after rename/move 2018-01-24 14:43:12 -05:00
thephez
703c54ffbc Dev ref conversion (#2)
Developer reference/guide updates to this point

* Update some reference documents
 - Adjust ref_intro to reference Dash
 - Start updating p2p network ref
 - Adjust some items in references.md to point to Dash URLs

* Update P2P networking protocol versions and message headers sections
Update subheading-links
Update more items in references.md

* Update inventories to include Dash specific items
 - Update references.md with them also
Update disclaimer (Bitcoin -> Dash)

* Remove reference to bitcoin mailing list from ref_intro

* Add Spork/GetSporks message details
Add placeholders for Dash specific messages
 - Added subsections for InstantSend, PrivateSend, Masternodes, and
Governance

* Some Bitcoin->Dash conversions
 - Update title / section name for Dev Doc/Dev Reference
 - Updated favicon

* Updates for the Data Network section of P2P reference

* Added Alert message details from Bitcoin back and removed feefilter

* More updates for Control Messages section of P2P network
 - Bitcoin->Dash reference changes
 - Reject and Version message updates

* InstantSend subsection of P2P reference detail
 - Added ix, txlvote message details and associated references

* Governance subsection (P2P)
 - Start adding govobj, govobjvote details
 - Add spork references

* Missed spork xref in previous

* Governance (P2P) updates
 - Add details to govobjvote and govsync

* Governance object P2P messages
 - Add additional description/details

* PrivateSend P2P messages
 - Added details for dsa, dsc, dsf, dsi, dsq, dss, dssu, and dstx
messages
  - Added references also
  - Hexdump examples for all but dsi and dss

* PrivateSend P2P minor updates

* Masternode P2P messages
 - Add descriptions
 - Add hexdump details

* Masternode P2P messages (dseg, mnb, mnget, mnp, mnv, mnw, mnwb, ssc)
 - Add reference/crossref entries
 - Add message structure

* P2P messages - minor formatting and corrections

* Block chain reference
 - Version info updates

* Update Block Chain reference (Headers)
 - Update version details
 - Update block reward info

* Update Transactions reference
 - Add some Dash specific updates

* Minor Transactions reference change

* RPC reference updates

* RPC reference updates
 - Added/removed commands to match available Dash commands

* Core API updates

* Renamed devdocs/bitcoin-core to dash-core
 - Updated developer-reference.md to point at new location

* Update filename to use dash-core instead of bitcoin-core

* Add Dash-specific GetAddressBalance RPC command and associated updates
Update RPC quick reference list

* Added cross reference/reference placeholders for remaining GetAddress... RPC commands
Added RPC template placeholder files for remaining GetAddress...
commands

* Scripts for environment setup and frequently used builds

* Add details for GetAddressDeltas/Mempool RPCs
Update path in Makefile bitcoin-core -> dash-core

* Add GetAddressTxids/Utxos details
Update minor formatting, etc. for GetAddressBalance/Deltas/Mempool
Changed reference to Dash Core and updated denominations for Dash

* Misc minor cleanup

* Work on updating existing Block Chain RPCs
 - GetBestBlockHash, GetBlock, GetBlockChainInfo, GetBlockCount,
GetBlockHash

* Continue updating existing Block Chain RPCs
 - GetBlockHeader, GetChainTips, GetDifficulty, GetMemPoolInfo,
GetRawMemPool

* Update RPCs quick-ref
 - Added descriptions for Dash
 - Updated description for Bitcoin related items for clarity

* Comment out content of non-implemented Block chain RPCs (GetMemPoolAncestors, GetMemPoolDescendants, GetMemPoolEntry, PreciousBlock, PruneBlockChain)

* Continue updating existing Block Chain RPCs
 - GetTxOut, GetTxOutProof, GetTxOutSetInfo, VerifyChain,
VerifyTxOutProof
Update previous block hash type to indicate X11 instead of double SHA256

* Add script to create basic RPC md file
Set up empty GetBlockHashes/Headers and GetSpentInfo RPCs

* Add GetBlockhashes details
Minor correction in Empty RPC generation script

* Add GetBlockHeaders details
Minor formatting updates

* Update Address Index related RPCs to indicate the necessity of enabling addressindex to use them

* Actual details of GetBlockHeaders

* Add details for GetSpentInfo

* Update existing Control RPCs (GetInfo, Help, Stop)

* Add Debug RPC

* Expand empty RPC generation script to add example section and fix format

* Added empty RPC files and cross-ref details for all Dash RPCs

* Add details for some Dash RPCs
- GetGovernanceInfo, GetPoolInfo, GetSuperblockBudget

* Add details for MasternodeList RPC (Dash section)

* Add details for MnSync RPC (Dash section)

* Dash RPC updates
 - Add Result section to MasternodeList
 - Formatting updates to MnSync

* Expand script to add placeholders for parameters/resuls/example

* Add details for PrivateSend RPC (Dash section)

* Update Generating RPCs
 - Added details back for GetGenerate/SetGenerate which were deprecated
in Bitcoin

* Formatting and example updates

* Add result detail and example to GetBlockTemplate

* Update existing Mining RPCs
 - GetMiningInfo, GetNetworkHashPs, PrioritiseTransaction, SubmitBlock

* Minor formatting updates

* Update most existing Network RPCs
 - AddNode, ClearBanned, DisconnectNode, GetAddedNodeInfo,
GetConnectionCount, GetNetTotals,GetNetworkInfo, GetPeerInfo,
ListBanned, Ping, SetBan
 - Added some norefs as needed (Network RPCs only)

* Misc cleanup

* SetNetworkActive (Network RPC)

* Misc updates
 - Change logo
 - Disable some headers (alert, donation)
 - Disable footer

* Governance updates
 - Add description of govsync to P2P guide
 - Updates to P2P reference

* Governance
 - Add governance message SVG image
 - Typo fixes

* Dseg updates
 - Added clarifying details regarding how to request single/all nodes
 - Ban warning

* Minor governance updates

* Governance updates / MN sync
 - Correct some reference links
 - Add MN sync info to guide
 - Update dseg, mnget, ssc, and govsync messages to include more detail

* Governance updates
 - Guide updated to show both stages of govsync
 - Reference
  - Correcte ssc typo and add sync item detail
  - Update govobjvote to include detail about propagation
  - Update govsync details

* Governance updates
 - More clarification on govsync (guide and reference)

* Raw Transaction RPC
 - Previously uncommitted CreateRawTransaction update

* Dash RPC (Gobject)
 - Add details for count and get sub-commands

Also added description for govobj types

* P2P messages
 - Spork updated to include verification details and a hexdump

Minor typo / note updates

* P2P Message - mnv
 - Draft details regarding use and operation

* P2P message (mnv)
 - Additional detail updates based on info from Udjin

Minor update to mnp

* Guide - Masternode payment
 - Add section and start putting in details

* P2P Messages - deprecated
 - Move deprecated messages to their own group

* Misc minor non-content updates
2017-10-25 09:17:55 -04:00
Igor Kuzmenko
d83bc41199 Changes onkeypress to oninput event in a modal window 2017-08-06 12:40:04 +02:00
Igor Kuzmenko
92940a28ab Moves jQuery QR to /js/jquery and adds conditional include 2017-08-06 12:39:25 +02:00
Igor Kuzmenko
9dc45b2827 Adds donation banner and modal window.
Includes auto-conversions between USD and BTC and autogeneration of QR code.
2017-08-05 22:23:57 +02:00
Igor Kuzmenko
0a4820ad1a Adds jQuery library to generate QR-codes 2017-08-05 22:22:25 +02:00
Igor Kuzmenko
040db7198b Fixes a bug with the transitions of the wallet listings 2017-07-19 14:27:44 +02:00
Igor Kuzmenko
d0ada511d0 Fixes issues with wallet-menu on handheld devices 2017-07-19 13:02:49 +02:00
Igor Kuzmenko
5e53d82c8c Cleans up a bit main.js from unused functions 2017-07-18 17:52:11 +02:00
Igor Kuzmenko
91fe3a77ac Remove not used js 2017-07-18 14:25:35 +02:00
Igor Kuzmenko
d02f388309 Adds button and click handler to display a specifi distro 2017-07-18 00:20:51 +02:00
David A. Harding
2dc026918a
Wallets: fix accidental wallet hiding on category change
Closes #1493

When a wallet was selected on mobile displays, its entry was copied to
another part of the page with its element id intact.  When a category
was changed, it prevented duplicate entries from being shown by
searching the page for matching ids, which unintentionally matched the
copied element.

This patch changes the id of the copied entry during the copy operation.
2017-05-10 15:01:46 -04:00
Cøbra
b9f898b7c0 Fix issues
Fix issues
2017-04-17 23:05:01 +01:00
Cøbra
b789cdd6bb Fix
Fix
2017-04-17 22:50:33 +01:00
Cøbra
0b024fb7f2 Google Analytics
Better tracking
2017-04-17 22:49:22 +01:00
Cøbra
409df4c3b4 Remove ad infrastructure
Remove ad infrastructure
2016-03-09 16:40:10 +00:00
Cøbra
67cea35a06 Add semicolon
Add semicolon
2016-02-23 17:56:32 +00:00
Cøbra
ecbc26eaa1 Add ad infrastructure
Add ad infrastructure to begin experimenting with ads to cover site
costs.
2016-02-23 17:30:24 +00:00
Cøbra
4107f65705
Fix build errors
Fixes some deployment build errors.
2015-10-16 14:57:33 +01:00
Cøbra
67bbe0ca12 Display Cookie Disclaimer & Add Analytics
Display the cookie disclaimer to visitors. Add analytics to the site
unless the user has Do Not Track enabled.
2015-10-12 18:10:24 +01:00
Cøbra
550ff42390 Add CookieConsent2
Adds CookieConsent2 to the project to display the cookie disclaimer.
2015-10-12 18:08:04 +01:00
David A. Harding
706c791e92
New Bitcoin Core subsite
This commit contains a large number of contributions from Saïvann
Carignan.
2015-09-14 06:02:58 -04:00
Saivann
d1efe4d974 Fix JSHint warnings in javascript files 2015-08-21 02:20:14 -04:00
Saivann
4b950cf928 Move jquery libraries into a subfolder 2015-08-21 02:20:14 -04:00
Saivann
d814977536 Beautify javascript (fixes #980) 2015-07-29 16:57:11 -04:00
Saivann
75a3c45628 Resolve merge conflict 2015-07-28 01:20:31 -04:00
Saivann
77511cb0d7 Auto-hide unselected wallet menu entries (thanks Craig Watkins) 2015-07-26 20:47:27 -04:00
Saivann
34550965b2 Make wallet scores and all onclick events compatible with iOS 2015-07-26 01:18:23 -04:00
Saivann
664ec1ac61 Drop use of href="#|return false;" workarounds
This workaround was used for facilitating clicks on mobiles,
but is now unnecessary as ontouchstart events are used.
2015-07-26 01:15:04 -04:00
Saivann
11c484c858 Avoid direct use of e.type
Some browsers need us to use window.event
2015-07-26 01:04:05 -04:00
David A. Harding
e038560ab7
Copyrights: Add MIT License Header To More Files
- Makefile: extend copyright check test to scan all files with YAML
  headers

    - Exclude alerts from check -- lack of a license shouldn't prevent
      us from publishing emergency information

    - Also add license to Makefile itself

- Fix all errors caught by new test

    - For release notes, also link to github.com/bitcoin/bitcoin
      repository as origin

        - Also update README.md release instructions to include license
2015-07-19 18:44:49 -04:00
Saivann
1bd4720304
Enable use of "use strict" and fix two global variable declarations 2015-07-10 14:09:06 -04:00
Saivann
3ac6158d37
Expand mobile menu entry by default on mobiles (thanks harding) 2015-07-08 13:09:59 -04:00
Saivann
e1ffd67729
Do nothing when clicking on an already selected menu entry 2015-07-08 00:13:48 -04:00
Saivann
f21f495948
Avoid updating wallets when de-selecting a menu entry 2015-07-08 00:12:22 -04:00
Saivann
be18e564c9 Fix global variable declarations 2015-07-07 16:27:17 -04:00
Saivann
5707cea630
Rework menus for mobile compatibility
Start supporting touch events for non-buggy iOS support and faster menus
Display and hide wallets on click instead of on mouseout to prevent accidental clicks or mouseout events
Add a wrapper function to detect ghost and accidental clicks
Reorganize wallet javascript functions for better readability
Fix bug in which a wallet would display on mouse over after user clicked inside it's bubble
Fix accidental use of global variables
2015-07-07 15:21:21 -04:00
Saivann
19cc8863c2
Merge branch 'jsexpandbox' 2015-06-29 11:54:52 -04:00
Saivann
3d9c178df3 Avoid duplicate code and non-reusable functions with hardcoded variables 2015-06-26 17:13:09 -04:00
Saivann
b27bcaf626 Simplify javascript code for expanding lists and blocks
Move styles to CSS stylesheets by using a class
Use a single function for all expanding boxes and lists
Separate CSS code for IE8 compatibility
2015-06-25 23:26:50 -04:00
David A. Harding
b347044eb2
Repository Move: Update Repository URLs
git ls-tree --full-tree -r HEAD \
  | sed 's/^.\{53\}//'          \
  | xargs sed -i 's^https://github.com/bitcoin/bitcoin.org^https://github.com/bitcoin-dot-org/bitcoin.org^g'
2015-06-23 09:08:40 -04:00
Saivann
262b550c18 Separate event script from event data 2015-05-01 14:19:43 -04:00
David A. Harding
ec343d54d1 QA: Check HTML Correctness & Fix Existing Errors
- _contrib/bco-htmlproof: check HTML for correctness; fail on any errors

- _contrib/bco-htmlproof: accept path for individual page to help debug
  page problems

- (Many files) Convert `&` in numerous elements to `&`

- _templates/download.html: use Liquid filter to automatically escape
  `&` in magnet links.  Also premptively tell HTML not to check the
  magnet link when checking external links (this check is not currently
  enabled)

- _releases/*: Escape `<parameter>` used in multiple Bitcoin Core
  release notes

- _templates/choose-you-wallet.html: change mSigna URL from
  .../coinvault&referer=bitcoin.org to .../coinvault?referer=bitcoin.org

- _templates/community.html: fix duplicate anchors by renaming one
  anchor

- _templates/events.html: move Javascript to separate file because it
  contains forbidden HTML close tags within the `<script></script>`
  tags.

- (Many files, mostly in _translations/) Fix many broken open tags or
  missing close tags.

- _translatios/zh_TW.yml & ko.yml: fix a total of three invalid
  characters (control characters)
2015-04-27 09:12:11 -04:00
David A. Harding
6264930505 JS: Move addAnchorLinks from main.js to base.js
Thanks Saïvann!
2015-04-25 19:19:25 -04:00
Jacob Burenstam
9d9247ee1c Site-wide JS: Don't remove mobile menu onclick
Rebased-from: 979eef696e3d02978f4245a944cd3d9f38518124
Rebased-by: David A. Harding <dave@dtrt.org>
Closes #805
2015-04-25 19:19:24 -04:00
David A. Harding
a2a5f454cb
Revert "Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box""
This reverts commit 961d6c988f.
2015-04-14 08:55:53 -04:00
David A. Harding
961d6c988f
Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box"
This reverts commit e3dcf0ce1f, reversing
changes made to c71e9fdf2d.

Once again we had a broken new plugin that Travis CI and local building
didn't catch.
2015-04-10 19:33:39 -04:00
David A. Harding
037cd4553a
Add New Glossary Page And Developer Search Feature
This commit adds the code necessary to generate a new
en/developre-glossary page with entry pages in the en/glossary/
directory, e.g. en/glossary/51-percent-attack.

The glossary page and the individual term pages feature a JavaScript
search engine (no CGI) for just glossary terms.  This search box has
also been added to the following pages:

    * Developer Documentation (the index page)
    * Developer Guide
    * Developer Reference
    * Developer Examples

The search box requires the following MIT-licensed libraries:

    * JQuery
    * JQuery UI
    * JQuery UI CSS stylesheet

These allow our JS code to be almost trivially simple in js/devsearch.js

This commit adds only code.  Actual glossary entry data will be added in
a subsequent commit.
2015-03-19 15:31:28 -04:00
Saivann
20d456204e Reduce future changes to the javascript code of the download page
Drop unnecessary code used in other pages
Load download links from links already on the page
2015-02-19 09:42:53 -05:00