Browse Source

recover blaster compatibility

pull/36/head
d47081 2 years ago
parent
commit
aa5ecbc922
  1. 63
      README.md
  2. 21
      home.html
  3. 7
      network.html

63
README.md

@ -1,35 +1,27 @@
twister-html twister-html
============ ============
HTML interface for twister core. HTML interface for **[twister](http://twister.net.co)** (see git repo [here](https://github.com/miguelfreitas/twister-core)). It is a FOSS which is being under heavy construction.
See git repo [here](https://github.com/twisterarmy/twister-core). To use it, clone this repo under `~/.twister/html` like this:
Official (currently unmaintained) [version](https://github.com/miguelfreitas/twister-core)
Stable releses available on this [page](https://github.com/twisterarmy/twister-html/releases). git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html
To use development version, clone this repo under `~/.twister/html` like this:
git clone https://github.com/twisterarmy/twister-html.git ~/.twister/html
If you're on **Mac OS X** — clone to `${HOME}/Library/Application\ Support/Twister/html` instead of `~/.twister/html` If you're on **Mac OS X** — clone to `${HOME}/Library/Application\ Support/Twister/html` instead of `~/.twister/html`
Switch the edition Be on the bleeding edge
----------------- -----------------------
TA Edition includes official Blaster updates and alternative features. To switch it, use followig commands:
git pull && git checkout twisterarmy
If you want to switch blaster branch: All nightly improvements and following fixes of these improvements are tested in [blaster](https://github.com/miguelfreitas/twister-html/tree/blaster) branch.
To be sure you are at the forefront, in stage of lack of testing and consensus:
git checkout blaster git pull && git checkout blaster
If the master branch: If you want to switch back to stable branch:
git checkout master git checkout master
Get updates: Follow `@letstwist` in twister to be aware of recent changes. In case of getting of twister-html related buzz from it:
git pull git pull
@ -39,7 +31,7 @@ Contribute
Feel free to fork and send pull requests! Feel free to fork and send pull requests!
To make it easier for us to accept your patches, please follow the conventional GitHub workflow To make it easier for us to accept your patches, please follow the conventional GitHub workflow
and keep in mind that your pull requests should have **twisterarmy** branch as both the origin and target. and keep in mind that your pull requests should have **blaster** branch as both the origin and target.
1. After forking, clone your repo: 1. After forking, clone your repo:
@ -47,42 +39,38 @@ and keep in mind that your pull requests should have **twisterarmy** branch as b
git clone git@github.com:YOURNICKNAME/twister-html.git ~/.twister/html git clone git@github.com:YOURNICKNAME/twister-html.git ~/.twister/html
cd ~/.twister/html cd ~/.twister/html
2. Switch to 'twisterarmy' branch: 2. Switch to 'blaster' branch:
git checkout twisterarmy git checkout blaster
3. CREATE A NEW BRANCH, specific to the branch prefix and fix you're implementing: 3. CREATE A NEW BRANCH, specific to the fix you're implementing:
git checkout -b twisterarmy_my_awesome_fix git checkout -b my-awesome-fix
4. Make your changes. 4. Make your changes.
5. Commit and push: 5. Commit and push:
git commit -m "fix of #12345: bad foobarizer" && git push --set-upstream origin twisterarmy_my_awesome_fix git commit -m "fix of #12345: bad foobarizer" && git push
6. Now open a pull request from branch 'YOURNICKNAME:twisterarmy_my_awesome_fix' to 'twisterarmy:twisterarmy' on GitHub. 6. Now open a pull request from branch 'YOURNICKNAME:my-awesome-fix' to 'miguelfreitas:blaster' on GitHub.
7. Once the request is accepted, switch back to 'twisterarmy' and track changes in upstream repo: 7. Once the request is accepted, switch back to 'blaster' and track changes in upstream repo:
git remote add upstream https://github.com/twisterarmy/twister-html.git # this is one-off setup git remote add upstream https://github.com/miguelfreitas/twister-html.git # this is one-off setup
git fetch upstream && git checkout twisterarmy git fetch upstream && git checkout blaster
git merge upstream/twisterarmy # you should get a fast-forward message here git merge upstream/blaster # you should get a fast-forward message here
git push git push
8. Alternatively, make your contribution into the official project:
https://github.com/miguelfreitas
Translations Translations
------------ ------------
If you want to add your own translation, edit `interface_localization.js` like this: If you want to add your own translation, edit `interface_localization.js` like this:
1. Fork the repo and create a new branch from 'twisterarmy' one: 1. Fork the repo and create a new branch from 'blaster' one:
git clone git@github.com:YOURNICKNAME/twister-html.git ~/.twister/html git clone git@github.com:YOURNICKNAME/twister-html.git ~/.twister/html
cd ~/.twister/html && git checkout twisterarmy cd ~/.twister/html && git checkout blaster
git checkout -b Klingon-translation git checkout -b Klingon-translation
2. Add your language to the list of available choices. You should use your ISO code here, 2. Add your language to the list of available choices. You should use your ISO code here,
@ -112,7 +100,6 @@ For multi-region languages, if you want to catch them all, use only the first ha
git commit -m 'Klingon translation' git commit -m 'Klingon translation'
git push origin Klingon-translation git push origin Klingon-translation
6. Then open the pull request from branch 'YOURNICKNAME:Klingon-translation' to 'twisterarmy:twisterarmy' or 'twisterarmy:twisterarmy' on GitHub. 6. Then open the pull request from branch 'YOURNICKNAME:Klingon-translation' to 'miguelfreitas:blaster' on GitHub.
[Community support](https://github.com/twisterarmy/twister-html/issues) For any help ping `@tasty` in twister.
[Official support](https://github.com/miguelfreitas/twister-core/issues)

21
home.html

@ -37,9 +37,9 @@
<ul> <ul>
<li class="userMenu-home current"><a href="home.html"> <li class="userMenu-home current"><a href="home.html">
<span class="selectable_theme theme_original label">Home</span> <span class="selectable_theme theme_original label">Home</span>
<span class="selectable_theme theme_nin theme_nin_night menu-news"></span> <span class="selectable_theme theme_nin menu-news"></span>
</a></li> </a></li>
<li class="userMenu-network selectable_theme theme_original theme_nin theme_nin_night"><a class="label" href="network.html">Network</a></li> <li class="userMenu-network selectable_theme theme_original theme_nin"><a class="label" href="network.html">Network</a></li>
<li class="userMenu-config"> <li class="userMenu-config">
<a class="userMenu-config-dropdown"> <a class="userMenu-config-dropdown">
<div class="config-menu dialog-modal"> <div class="config-menu dialog-modal">
@ -58,9 +58,6 @@
<a class="dropdown-menu-item promoted-posts-only selectable_theme theme_original theme_calm" href="#">Switch to Promoted posts</a> <a class="dropdown-menu-item promoted-posts-only selectable_theme theme_original theme_calm" href="#">Switch to Promoted posts</a>
<a class="dropdown-menu-item direct-messages selectable_theme theme_original theme_calm" href="#">Direct Messages</a> <a class="dropdown-menu-item direct-messages selectable_theme theme_original theme_calm" href="#">Direct Messages</a>
<a class="dropdown-menu-item groupmessages selectable_theme theme_original theme_calm" href="#">Group Messages</a> <a class="dropdown-menu-item groupmessages selectable_theme theme_original theme_calm" href="#">Group Messages</a>
<a class="dropdown-menu-item" href="https://github.com/twisterarmy/twister-html/issues" target="_blank">Feedback</a>
<a class="dropdown-menu-item" href="https://twisterarmy.github.io" target="_blank">Project Website</a>
<a class="dropdown-menu-item" href="https://twisterarmy.github.io/donate" target="_blank">Donate</a>
</div> </div>
</a> </a>
</li> </li>
@ -102,7 +99,7 @@
<!-- LADO ESQUERDO DE MÓDULOS INIT --> <!-- LADO ESQUERDO DE MÓDULOS INIT -->
<div class="dashboard left"> <div class="dashboard left">
<!-- THEME NIN added sub-menu (mentions, messages and edit profile) --> <!-- THEME NIN added sub-menu (mentions, messages and edit profile) -->
<ul class="mini-profile-indicators selectable_theme theme_nin theme_nin_night"> <ul class="mini-profile-indicators selectable_theme theme_nin">
<li class="userMenu-connections"> <li class="userMenu-connections">
<a href="#" title="Mentions"><span class="messages-qtd" style="display:none;">0</span><span>Mentions</span></a> <a href="#" title="Mentions"><span class="messages-qtd" style="display:none;">0</span><span>Mentions</span></a>
</li> </li>
@ -162,12 +159,12 @@
<button class="postboard-news selectable_theme theme_original theme_calm" style="display: none;"></button> <button class="postboard-news selectable_theme theme_original theme_calm" style="display: none;"></button>
</h2> </h2>
<!-- Tabs to switch between promoted post and normal posts--> <!-- Tabs to switch between promoted post and normal posts-->
<ul class="promoted-posts-only promoted selectable_theme theme_nin theme_nin_night"> <ul class="promoted-posts-only promoted selectable_theme theme_nin">
<li class="normal-posts active"><span>Normal posts</span></li> <li class="normal-posts active"><span>Normal posts</span></li>
<li class="promoted-posts disabled"><span>Promoted posts</span></li> <li class="promoted-posts disabled"><span>Promoted posts</span></li>
</ul> </ul>
<!-- Post area on top of postboard --> <!-- Post area on top of postboard -->
<div id="postboard-top" class=" selectable_theme theme_nin theme_nin_night"> <div id="postboard-top" class=" selectable_theme theme_nin">
<div class="post-area"> <div class="post-area">
<form class="post-area-new"> <form class="post-area-new">
<textarea placeholder="New Post..."></textarea> <textarea placeholder="New Post..."></textarea>
@ -318,7 +315,7 @@
<span class="followed-by"></span> <span class="followed-by"></span>
</a> </a>
</div> </div>
<a class="twister-user-remove"><span>&times;</span></a> <a class="twister-user-remove">&times;</a>
<div class="latest-activity" data-screen-name="" data-id="" data-time="0"> <div class="latest-activity" data-screen-name="" data-id="" data-time="0">
<span class="label">Last activity</span> <span class="label">Last activity</span>
<span class="time"></span> <span class="time"></span>
@ -452,7 +449,7 @@
<div id="template-inline-warn"> <div id="template-inline-warn">
<div class="inline-warn"> <div class="inline-warn">
<div class="close"><span>&times;</span></div> <div class="close">&times;</div>
<div class="text"></div> <div class="text"></div>
<div class="options"> <div class="options">
<div><input type="checkbox" class="never-again" /><span>don't show it again</span></div> <div><input type="checkbox" class="never-again" /><span>don't show it again</span></div>
@ -745,10 +742,10 @@
<div class="profile-bio"></div> <div class="profile-bio"></div>
<div id="msngrswr"> <div id="msngrswr">
<div id="toxbtnwr" class="profile-extra-contact"> <div id="toxbtnwr" class="profile-extra-contact">
<a class="profile-tox"><span class="selectable_theme theme_nin theme_nin_night">TOX</span></a><a class="tox-ctc"></a> <a class="profile-tox"><span class="selectable_theme theme_nin">TOX</span></a><a class="tox-ctc"></a>
</div> </div>
<div id="bmbtnwr" class="profile-extra-contact"> <div id="bmbtnwr" class="profile-extra-contact">
<a class="profile-bitmessage"><span class="selectable_theme theme_nin theme_nin_night">BitMessage</span></a><a class="bitmessage-ctc"></a> <a class="profile-bitmessage"><span class="selectable_theme theme_nin">BitMessage</span></a><a class="bitmessage-ctc"></a>
</div> </div>
</div> </div>
</div> </div>

7
network.html

@ -33,7 +33,7 @@
<nav class="userMenu"> <nav class="userMenu">
<ul> <ul>
<li class="userMenu-home"><a href="home.html"><span class="selectable_theme theme_original label">Home</span></a></li> <li class="userMenu-home"><a href="home.html"><span class="selectable_theme theme_original label">Home</span></a></li>
<li class="userMenu-network current selectable_theme theme_original theme_nin theme_nin_night"><a class="label" href="network.html">Network</a></li> <li class="userMenu-network current selectable_theme theme_original theme_nin"><a class="label" href="network.html">Network</a></li>
<li class="userMenu-config"> <li class="userMenu-config">
<a class="userMenu-config-dropdown"> <a class="userMenu-config-dropdown">
<div class="config-menu dialog-modal"> <div class="config-menu dialog-modal">
@ -45,9 +45,6 @@
<a class="dropdown-menu-item" href="options.html">Options</a> <a class="dropdown-menu-item" href="options.html">Options</a>
<a class="dropdown-menu-item" href="/#/account">Setup account</a> <a class="dropdown-menu-item" href="/#/account">Setup account</a>
<a class="dropdown-menu-item updates-check-client">Check for client's updates</a> <a class="dropdown-menu-item updates-check-client">Check for client's updates</a>
<a class="dropdown-menu-item" href="https://github.com/twisterarmy/twister-html/issues" target="_blank">Feedback</a>
<a class="dropdown-menu-item" href="https://twisterarmy.github.io" target="_blank">Project Website</a>
<a class="dropdown-menu-item" href="https://twisterarmy.github.io/donate" target="_blank">Donate</a>
</div> </div>
</a> </a>
</li> </li>
@ -61,7 +58,7 @@
<div class="network singleBlock"> <div class="network singleBlock">
<h2 class="selectable_theme theme_original theme_calm"> Network status </h2> <h2 class="selectable_theme theme_original theme_calm"> Network status </h2>
<div class="module"> <div class="module">
<h2 class="selectable_theme theme_nin theme_nin_night"> Network status </h2> <h2 class="selectable_theme theme_nin"> Network status </h2>
<h3> General information</h3> <h3> General information</h3>
<ul> <ul>
<li> <li>

Loading…
Cancel
Save