NATION

PASSWORD

LibreNS++ 0.1.2 | Secure NationStates++ Alternative

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
Kazmr
Chargé d'Affaires
 
Posts: 460
Founded: Aug 23, 2013
Ex-Nation

Postby Kazmr » Thu Jul 16, 2015 10:02 am

Is this still actively maintained? Anyone using it know if its facing the bug issues that NS++ does?
Former Chairman of the Peoples Republic of Lazarus
Officer of the Lazarene Liberation Army
Also known as United Gordonopia

User avatar
Ever-Wandering Souls
Negotiator
 
Posts: 7267
Founded: Jan 01, 2014
Father Knows Best State

Postby Ever-Wandering Souls » Thu Jul 16, 2015 11:34 am

Considering the last post prior to yours was pre-Rift release, I imagine that at the least it suffers potential compatibility issues of you use that theme. By my understanding as well, it never picked up all the original Ns++ features, so I'm not sure how much further functionality you'd get and how much switching would just remove broken items entirely.
Proud Raider; General of The Black Hawks, Ret.
TG me anytime; I'm always happy to talk about anything!

The Alicorns (Equestria) wrote:Let them stay, no need to badmouth them...From our view a bunch of nations just came in, seized the delegate position, and changed a few superficial things...we play NationStates differently...there's really no reason for us to be butthurt.
http://www.nationstates.net/page=rmb/postid=8944227
http://www.nationstates.net/page=rmb/postid=8951258

Misley wrote:
Hobbesistan wrote:Don't think I understand the question.
The color or what?..

Jesus, Hobbes, it's 2015. You can't just call someone "the color".

Reploid Productions wrote:Raiders are endlessly creative

How Do I Telegram API?

Omnis delenda est.

User avatar
Ivnin Star
Civilian
 
Posts: 1
Founded: Jul 19, 2015
Ex-Nation

Postby Ivnin Star » Sun Jul 19, 2015 10:00 pm

Waiting for this to get the ability to create puppets, the other program says a nation exists so I can't use the name, and then when I ask NS it says that's nonsense.

User avatar
New Tuva SSR
Minister
 
Posts: 2367
Founded: Aug 31, 2014
Ex-Nation

Postby New Tuva SSR » Mon Jul 20, 2015 10:20 am

Android support! Finally!
Lykens wrote:You win at life.

Sankarist, Libertarian Socialist, antifa
Thomas Sankara and Jeremy Corbyn are my inspirations.
Economic Left/Right: -9.88
Social Libertarian/Authoritarian: -8.77
Pro: Democratic Socialism, anarcho-syndicalism, DeLeonism (some parts), direct democracy, universal healthcare, green politics, Die Linke, Palestine, Paris Climate Agreement, decentralized production, Corbynite Labour
Neutral: Social democrats, the EU, Obama (domestic), Marx, communism, Democratic progressives, Bernie, black blocs
Anti: Capitalism, neoliberalism, Trump, the GOP, Blairite Labour, the Conservatives, the DNC, Obama (foreign), Trudeau, Third Way, racial supremacy, bloated government, the "free" market, the police, dictatorship, Marxism-Leninism, the USSR, NATO, Israel

User avatar
Kedor
Bureaucrat
 
Posts: 61
Founded: Mar 18, 2014
Ex-Nation

Postby Kedor » Mon Jul 27, 2015 6:20 pm

How do I change the settings?

User avatar
Sino nations
Diplomat
 
Posts: 597
Founded: May 30, 2014
Ex-Nation

Postby Sino nations » Wed Jul 29, 2015 5:47 am

I Got Both At Same Time(LibreNS++ and NS++) Image
For Soviet Republics of Sino nations!
Fight against enemy of people!
Põlvamaa: Rohelisem Elu!
Left-Winger From Estonia!
Not Chinese
Pro:Communism,USSR,MGTOW,Freedom to offend,Colonization(Stability In Africa was created by Colonization)
Anti:Feminism,Nazism,USA,Russian Federation,UK,EU,Anime,Bronies,Furries

User avatar
British Accia
Chargé d'Affaires
 
Posts: 448
Founded: Jan 16, 2014
Ex-Nation

Postby British Accia » Wed Jul 29, 2015 9:24 am

So, just installed this, any reason why the check boxes in the LibreNS++ thingy at the top are unchangeable?

EDIT: Also, trying to access said tab from the forums returns an error page, probably because its trying to find it with forum.nation... in front of it.
Last edited by British Accia on Wed Jul 29, 2015 9:27 am, edited 1 time in total.
I'm not going to keep your flag hosted on the internet forever, please save it to your computer or upload it elsewhere.
Pro: Communism, Socialism, UK Better Together, LGBTQ+ Rights, Gun Control, Separation of Religion and State
Anti: Fascism, Capitalism, The Death Penalty, ISIS/ISIL/IS, Extremist Religions, EU,
Economic Left: -6.63
Social Libertarian: -3.18
TG me, I've nothing better to do.

Shazbotdom wrote:"We are the admins, lower your firewalls and surrender your computers. You will be assimilated."

Severisen wrote:You literally couldn't have missed the point more, even if you endorsed the native delegate.

User avatar
Zocra
Diplomat
 
Posts: 874
Founded: Feb 21, 2013
Inoffensive Centrist Democracy

Postby Zocra » Thu Jul 30, 2015 10:33 am

Do you think you'd be able to transfer most of the features seen in NS++? Like highlighting OP.
Last edited by Zocra on Thu Jul 30, 2015 10:35 am, edited 1 time in total.
Last edited by Google Bot today, edited 1 time in total. | I exist for your benefit.

Founder: United Alliances
Timezone: US Eastern

User avatar
South Jarvis
Bureaucrat
 
Posts: 53
Founded: Oct 15, 2013
Ex-Nation

Postby South Jarvis » Thu Aug 06, 2015 11:50 pm

Hi everyone. As it turns out, I'm still here, and still maintaining LibreNS++! So I suppose the answer to...

Kazmr wrote:Is this still actively maintained?

is 'yes'. Even better news than that however, is the release of 0.0a16!

  • Implement NS++ compatibility for regional titles. #28 #29
  • Remove support for legacy versions which hotlinked libraries.
  • Prevent jQuery 2.1.1 messing with NS jQuery 1.x. Fix #44.

I must confess, I've been sitting on this release for a while now (since December last year, oops!) but it's here now, and it's better than ever!

Now, to address a few questions:

Ever-Wandering Souls wrote:Considering the last post prior to yours was pre-Rift release, I imagine that at the least it suffers potential compatibility issues of you use that theme.

I don't use Rift regularly, but I did for a while, and I never saw any compatibility issues. The 'LibreNS++' and 'Puppet' buttons are still in the old style, but they all work properly.

British Accia wrote:So, just installed this, any reason why the check boxes in the LibreNS++ thingy at the top are unchangeable?

EDIT: Also, trying to access said tab from the forums returns an error page, probably because its trying to find it with forum.nation... in front of it.

LibreNS++ hasn't got too many configurable options right now, so most of the options wouldn't actually do anything, even if you could change them. However, LibreNS++ has just gotten support for NationStates++ regional titles (see above), so now one of the checkboxes actually works!

I've known about the forum issue for a while now, and I've opened an issue on the issue tracker. A little inconvenient, perhaps, but the workaround right now is just to not use those buttons while on the forum.

User avatar
Leveat
Diplomat
 
Posts: 524
Founded: Aug 10, 2014
Ex-Nation

Postby Leveat » Sun Oct 04, 2015 8:24 am

I'd like to contribute a bit here to practice my JS, but I can't actually tell how to start. It looks like you're using some sort of JS preprocessor or compiler?
EDIT: Alright, figured it out: it's GNU M4. Forking. I think one of my first contributions will be a CONTRIBUTING.md file...
Last edited by Leveat on Sun Oct 04, 2015 10:23 am, edited 1 time in total.
The Leveat that can be spoken of is not the true Leveat,
but it is a pretty close alternative, in any case. You can talk about it if you want.
History · Constitution · That One Issue · All Hail · Miscellany · Meet Levball (drawn by Ismeil)

User avatar
Confederation of imperial states
Senator
 
Posts: 4185
Founded: Nov 17, 2014
Ex-Nation

Postby Confederation of imperial states » Sun Oct 04, 2015 12:12 pm

Is this Compatible with the RIFT Theme?

User avatar
Phydios
Minister
 
Posts: 2568
Founded: Dec 06, 2014
Left-Leaning College State

Postby Phydios » Sun Oct 04, 2015 12:27 pm

Confederation of imperial states wrote:Is this Compatible with the RIFT Theme?

Yes. Look two posts above you.
If you claim to be religious but don’t control your tongue, you are fooling yourself, and your religion is worthless. Pure and genuine religion in the sight of God the Father means caring for orphans and widows in their distress and refusing to let the world corrupt you. | Not everyone who calls out to me, ‘Lord! Lord!’ will enter the Kingdom of Heaven. Only those who actually do the will of my Father in heaven will enter. On judgment day many will say to me, ‘Lord! Lord! We prophesied in your name and cast out demons in your name and performed many miracles in your name.’ But I will reply, ‘I never knew you. Get away from me, you who break God’s laws.’
James 1:26-27, Matthew 7:21-23

User avatar
Kinstantia
Diplomat
 
Posts: 588
Founded: Jun 07, 2008
Ex-Nation

Postby Kinstantia » Wed Oct 07, 2015 8:43 pm

I admit I am not the most research-oriented of the NSers around. I have been informed of the potential issues with NS++, thus, when I get home from work, I will be more than willing to uninstall NS++ for your extension. Thank you for releasing it to us!
It's as if someone thought, "What if we took Baywatch, mixed it with Star Trek, and then blended in a frat party?" That's Kinstantia, in a nutshell.
This nation may or may not reflect my real life views. Furthermore, there's a lot of comic relief intended here, so if it seems a bit silly, you know why.

User avatar
South Jarvis
Bureaucrat
 
Posts: 53
Founded: Oct 15, 2013
Ex-Nation

LibreNS++ 0.0a17, 0.0a18

Postby South Jarvis » Wed Oct 07, 2015 10:09 pm

Thanks to Leveat's work, I present LibreNS++ 0.0a17, followed quickly by 0.0a18!

A number of bugs have been fixed, and many of the options in the LibreNS++ settings menu are finally functional.

A note on updating
If you are currently using LibreNS++ to store puppet details, updating to 0.0a18 may cause your puppet details to become inaccessible. It is strongly recommended that you delete your puppet details from LibreNS++ before updating.

User avatar
Leveat
Diplomat
 
Posts: 524
Founded: Aug 10, 2014
Ex-Nation

Postby Leveat » Thu Oct 08, 2015 11:52 am

Question to you: it is certainly possible that there are some things that are downright impossible without a centralized server and some other things that are difficult without one, so I think we should consider allowing some centralized data storage, under rules. My suggestions:
  1. If it's reasonably possible to decentralize, decentralize first. Example: I'm working on a contribution that uses a sound file; this can be stored in base64 and played off of a data: URI without needing it to be loaded from a server. However, the dispatch is indeed pushing it.
  2. Data should be stored in an openly accessible and auditable area. My recommendation is a GitHub repository, which we could name, for example, RunasSudo/LibreNSpp-data.
  3. All centralized features should be toggleable and disabled by default.
  4. All centralized features should support using an alternate database if the user wishes.
The Leveat that can be spoken of is not the true Leveat,
but it is a pretty close alternative, in any case. You can talk about it if you want.
History · Constitution · That One Issue · All Hail · Miscellany · Meet Levball (drawn by Ismeil)

User avatar
Kinstantia
Diplomat
 
Posts: 588
Founded: Jun 07, 2008
Ex-Nation

Postby Kinstantia » Thu Oct 08, 2015 1:30 pm

I just wanted to thank you for developing this extension. I installed it and it works great. Thanks!
It's as if someone thought, "What if we took Baywatch, mixed it with Star Trek, and then blended in a frat party?" That's Kinstantia, in a nutshell.
This nation may or may not reflect my real life views. Furthermore, there's a lot of comic relief intended here, so if it seems a bit silly, you know why.

User avatar
South Jarvis
Bureaucrat
 
Posts: 53
Founded: Oct 15, 2013
Ex-Nation

Postby South Jarvis » Thu Oct 08, 2015 3:59 pm

Leveat wrote:Question to you: it is certainly possible that there are some things that are downright impossible without a centralized server and some other things that are difficult without one, so I think we should consider allowing some centralized data storage, under rules. My suggestions:
  1. If it's reasonably possible to decentralize, decentralize first. Example: I'm working on a contribution that uses a sound file; this can be stored in base64 and played off of a data: URI without needing it to be loaded from a server. However, the dispatch is indeed pushing it.
  2. Data should be stored in an openly accessible and auditable area. My recommendation is a GitHub repository, which we could name, for example, RunasSudo/LibreNSpp-data.
  3. All centralized features should be toggleable and disabled by default.
  4. All centralized features should support using an alternate database if the user wishes.


Those seem like very reasonable suggestions, but I'm not sure about audio files. Storing an audio file in a dispatch is probably overkill, but I don't think storing it in a GitHub repo is a great idea either. I can foresee difficulties managing all the files, and GitHub storage space isn't free. Inappropriate content in audio is probably also worse than in text, so I can imagine there might be trouble with content.

EDIT: I interpreted your suggestion as relating to user-uploaded content. My reservations don't apply to LibreNS++'s own assets (which could just be stored in the LibreNS++ repo).
Last edited by South Jarvis on Thu Oct 08, 2015 5:01 pm, edited 5 times in total.

User avatar
Leveat
Diplomat
 
Posts: 524
Founded: Aug 10, 2014
Ex-Nation

Postby Leveat » Thu Oct 08, 2015 5:25 pm

South Jarvis wrote:
Leveat wrote:Question to you: it is certainly possible that there are some things that are downright impossible without a centralized server and some other things that are difficult without one, so I think we should consider allowing some centralized data storage, under rules. My suggestions:
  1. If it's reasonably possible to decentralize, decentralize first. Example: I'm working on a contribution that uses a sound file; this can be stored in base64 and played off of a data: URI without needing it to be loaded from a server. However, the dispatch is indeed pushing it.
  2. Data should be stored in an openly accessible and auditable area. My recommendation is a GitHub repository, which we could name, for example, RunasSudo/LibreNSpp-data.
  3. All centralized features should be toggleable and disabled by default.
  4. All centralized features should support using an alternate database if the user wishes.


Those seem like very reasonable suggestions, but I'm not sure about audio files. Storing an audio file in a dispatch is probably overkill, but I don't think storing it in a GitHub repo is a great idea either. I can foresee difficulties managing all the files, and GitHub storage space isn't free. Inappropriate content in audio is probably also worse than in text, so I can imagine there might be trouble with content.

EDIT: I interpreted your suggestion as relating to user-uploaded content. My reservations don't apply to LibreNS++'s own assets (which could just be stored in the LibreNS++ repo).


Nein, nein, nein, you misunderstand; the contribution that uses a sound file is to play a notification noise when new RMB messages are loaded. We don't need to make that customizable per-region, this simple beep I found will suffice and can be hard-coded into the .user.js file. You can see how I did that here.

And yes, LibreNS++'s own assets can easily be stored in the repo. I prefer to bake them into the .user.js (as data: URIs) when possible to avoid any potential compatibility issues, however. Perhaps I could add this to build.sh, so the assets could be stored in their usual form in the repo and be encoded and baked automatically.
EDIT: In fact, I think I will. EDIT TWENTY MINUTES LATER: I just did.

And yes, my suggestions concern only user-generated content.
Last edited by Leveat on Thu Oct 08, 2015 6:03 pm, edited 2 times in total.
The Leveat that can be spoken of is not the true Leveat,
but it is a pretty close alternative, in any case. You can talk about it if you want.
History · Constitution · That One Issue · All Hail · Miscellany · Meet Levball (drawn by Ismeil)

User avatar
Leveat
Diplomat
 
Posts: 524
Founded: Aug 10, 2014
Ex-Nation

Postby Leveat » Fri Oct 09, 2015 1:13 pm

The Leveat that can be spoken of is not the true Leveat,
but it is a pretty close alternative, in any case. You can talk about it if you want.
History · Constitution · That One Issue · All Hail · Miscellany · Meet Levball (drawn by Ismeil)

User avatar
Baconbacon123
Secretary
 
Posts: 26
Founded: Nov 01, 2013
Ex-Nation

Newspapers

Postby Baconbacon123 » Mon Oct 19, 2015 2:44 pm

Will LibreNS++ ever be able to access NS++ regional newspapers?

User avatar
Zemnaya Svoboda
Diplomat
 
Posts: 867
Founded: Jan 06, 2004
Civil Rights Lovefest

Postby Zemnaya Svoboda » Mon Oct 19, 2015 2:57 pm

Baconbacon123 wrote:Will LibreNS++ ever be able to access NS++ regional newspapers?

It would not be difficult for it to read them, particularly with my cooperation (which I'd be happy to provide,) but it would be difficult for it to be used to edit them.

User avatar
South Jarvis
Bureaucrat
 
Posts: 53
Founded: Oct 15, 2013
Ex-Nation

Postby South Jarvis » Mon Oct 19, 2015 10:57 pm

Baconbacon123 wrote:Will LibreNS++ ever be able to access NS++ regional newspapers?

LibreNS++ already interfaces with the NS++ data service to provide compatibility for regional titles, so regional newspapers shouldn't be that hard. I might slip it into the next version, but as Zemnaya Svoboda correctly notes, it would be very difficult (and not on my radar) to allow submitting new articles.

User avatar
South Jarvis
Bureaucrat
 
Posts: 53
Founded: Oct 15, 2013
Ex-Nation

0.1.0

Postby South Jarvis » Mon Oct 19, 2015 11:39 pm

LibreNS++ 0.1.0 has been released! This release brings with it NS++ compatibility for more features, a notification system and a long-awaited update checker!

* Various changes by @ViKomprenas
* Added a notification system for RMB messages.
* Implemented an update checker. #33
* Added NS++ compatibility for regional IRC and newspapers. #28

User avatar
Leveat
Diplomat
 
Posts: 524
Founded: Aug 10, 2014
Ex-Nation

Postby Leveat » Sun Nov 01, 2015 2:07 pm

By the way, here's a list of all the icons NS provides (as of now, anyway), in case you or I need them. They seem to be available on all themes.
The CSS file containing all these class definitions is https://www.nationstates.net/fontello/css/nationstates_v1401173011.css.

Code: Select all
.icon-radar
.icon-town-hall
.icon-search
.icon-mail
.icon-mail-alt
.icon-heart
.icon-heart-empty
.icon-star
.icon-star-empty
.icon-male
.icon-female
.icon-ok-circled
.icon-cancel-circled2
.icon-plus
.icon-plus-circled
.icon-help
.icon-link
.icon-link-ext
.icon-lock
.icon-lock-open
.icon-flag-1
.icon-flag-empty
.icon-flag-checkered
.icon-comment
.icon-chat
.icon-comment-empty
.icon-chat-empty
.icon-bell
.icon-bell-alt
.icon-rss-1
.icon-menu
.icon-wa
.icon-login
.icon-logout
.icon-mic
.icon-lightbulb
.icon-right-hand
.icon-arrows-cw
.icon-target
.icon-award
.icon-globe
.icon-flash
.icon-align-left
.icon-book
.icon-gift
.icon-chart-bar
.icon-megaphone
.icon-coffee
.icon-building
.icon-shield
.icon-stackexchange
.icon-newspaper
.icon-globe-1
.icon-chart-line
.icon-chart-bar-1
.icon-chart-area
.icon-news
.icon-award-1
.icon-chart
.icon-industrial-building
.icon-monument
.icon-cog-alt
The Leveat that can be spoken of is not the true Leveat,
but it is a pretty close alternative, in any case. You can talk about it if you want.
History · Constitution · That One Issue · All Hail · Miscellany · Meet Levball (drawn by Ismeil)

User avatar
Kanoria
Bureaucrat
 
Posts: 59
Founded: Nov 25, 2012
Scandinavian Liberal Paradise

Postby Kanoria » Tue Nov 03, 2015 6:08 am

Sorry to jump in with a feature request, but something I miss about NS++ is the option on the settings page that can be unchecked entitled 'Show Nation Page on Switch', when you do so and switch, the current page (including active scripts) is simply reloaded from the selected puppets perspective. I am not skilled at coding, so I don't know how much trouble such a feature is to add, or indeed if you plan to do so, I of course understand if you do not.

Also, whilst I am here, thank you South Jarvis for this extremely useful extension, and likewise, thank you for your contribution to it as well, Leveat.

PreviousNext

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Baharan, Istastioner, Mavenu, Norvoz, Reformed United States, South Adria, The Plough Islands, Untecna

Advertisement

Remove ads