Category Filtering: 'open-source'

Generating a self-signed SSL certififcate

Open Source, Web Development

One of the tasks every software developer needs to tackle periodically is generating a self-signed SSL certificate in one form or another for the purpose of testing SSL-secured software systems. Here is an easy method to generate a self-signed cert on the CLI.

$ openssl genrsa -out privatekey.pem 2048

$ openssl req -new -key privatekey.pem -out signingrequest.cer

$ openssl x509 -req -days 3650 -in signingrequest.cer -signkey privatekey.pem -out certificate.pem

altseven 6.0.0 - Overview

altseven, JavaScript, Open Source

Like other client-side JavaScript frameworks, an altseven application starts with an HTML page that is used to import the JavaScript application code. Unlike React, altseven does not enforce a single root HTML node per application, so the served HTML page may contain any number of HTML elements that can be used as root nodes for different parts of the application. In practice, this design means that you can deliver the base HTML structure of an application as static HTML that renders immediately when the HTML page is received by the browser.


Livesandbox Web app editor v 0.12.0 release

JavaScript, Open Source

The next release of the livesandbox Javascript/Web app in-browser editor is now available. This release includes a profile page and profile picture, along with a number of other minor enhancements to improve the user experience in the application.


gadget-ui v 7.0.0 - Part II - uploading images to a NodeJS app using FileUploader

gadget-ui, NodeJS, Open Source

In Part I of the look at the 7.0.0 release of gadget-ui, I discussed some of the new features of the library and provided some insight into the new NodeJS-based test system.  I left out the discussion of the new FileUploader example written in NodeJS. In short, the new NodeJS test system includes code to demonstrate the FileUploader functionality using NodeJS as a backend. While it isn't necessarily a production-ready solution, it should give you enough code to implement the FileUploader against a NodeJS server without any significant obstacles.


gadget-ui v 7.0.0 - Part I - NodeJS support

gadget-ui, NodeJS, Open Source

gadget-ui, my open source JavaScript component library, has reached a new milestone- v 7.0.0. This release contains several new features, the most significant of which have to do with NodeJS support. Recent versions of the library have required users to set up a CFML engine such as Lucee or ColdFusion to fully test all of the components in the library. The 7.0.0 release now includes a NodeJS-based solution for testing all of the library components.


Building and Configuring Apache James with OpenLDAP

Apache James, Open Source, OpenLDAP, Ubuntu

[ This post is part of my ongoing instructional series on setting up some baseline IT infrastructure for the fictional startup Shoestring Lab. Shoestring has committed to using Open Source wherever possible. Shoestring Lab has standardized on Ubuntu for its server and desktop/laptop computer systems.

Today's lesson

Now that you have built a central user repository for your network using OpenLDAP, you need to configure an email server to use the OpenLDAP user repository.]


Livesandbox Web app editor v 0.11.0

altseven, JavaScript, Open Source

Good news for open source JavaScript supporters- the livesandbox project is nearing a 1.0.0 release. I have added some of the missing features in the beta roadmap. You can see the project on it GitHub page.

Updates in this release:

  • add notifications on save and delete of apps and libraries
  • add confirmation dialogs when abandoning changes in apps and libraries
  • update database to change JS, CSS, and HTML fields to text from varchar to accommodate larger projects
  • update to altseven remote module to return promises from invoked remote methods so promises can be handled from calling code

These changes bring the editing experience closer to what developers (certainly myself) would expect to see in an editor application.

For a v 1.0.0 release, I expect to add a user profile page. I am also considering making public (anonymous) access part of the release. An admin system and multi-user access (viewing applications of other users) may also be part of the release, though I have not scoped these features and am not yet ready to commit to making them part of the release.


Livesandbox Web app editor v 0.9.4

altseven, JavaScript, Open Source, Web Development

Another update of the livesandbox editor is available on GitHub. I made some important fixes to the application and wanted get this code released as soon as possible.

Updates in this release.

  • fix update/read issues with saving apps
  • change editor layout
  • fix sometimes incorrect saving of esModule bit field
  • fix save/retrieval/loading of app libraries
  • add getApps and getLibraries stored procedures to git
  • update db dump
  • set editor to wrap long lines so the editor width does not grow beyond 50% of sandbox width

Upgrading from previous releases:

In addition to pulling the latest master (or the 0.9.4 tag) from GitHub, you will need to update the getApps stored procedure in the database. A SQL script has been added to ./database/getApps.sql with the updated stored procedure code. You can, if you prefer, simply replace the previous database with the new backup in the ./database folder.

The application is getting closer to being stable and feature complete for a 1.0.0 release. Outstanding tasks:

  • add notifications on successful save/delete of apps and libraries
  • add warnings when discarding unsaved changes
  • add paging for apps and libraries lists

I may or may not add an admin feature as part of the 1.0.0 release.


Livesandbox Web app editor updated

JavaScript, Open Source

Following the release of a work in progress update to gadget-ui, I've spent some time this weekend on an update to the beta release of the livesandbox web app editor. This is a minor update meant to fix some of the most egregious and annoying bugs in the initial beta release.

Oh yeah, grab the code on GitHub.

Fixes in this release (from the release notes):

  • properly set editor mode for each pane so code renders correctly
  • set editor to refresh on content load
  • prevent save for unnamed apps/libraries
  • resolve issues with saving/loading of libraries linked to apps
  • add new library function
  • fix issue with bit value as Buffer in remote/app.update
  • login now loads libraries and apps

The editor now color codes JavaScript, HTML, and CSS correctly. It also immediately shows changes to each editor pane when you load a saved app. These were minor configuration and programming issues with the editor.  Making the most of the Code Mirror editor component could involve significant configuration work, for now the settings are out-of-the-box configurations.

Saving and loading apps and libraries has also been given some attention, though there are still some issues saving apps and more generally handling server-side exceptions on the client. These issues will be addressed in a future release.

The CSS Grid layout of the sandbox still needs work, as mentioned in the initial beta release notes, and may receive attention in the next release. Once the outstanding issues are resolved, I may spend some time on a user admin area, multi-user mode, and anonymous browse/edit mode. Suggestions for enhancements/updates are welcome.


Gadget-UI Update

gadget-ui, GitHub, Open Source, Web Development

The latest gadget-ui library update is available on GitHub and npm. Version 6.1.0 makes headway in simplifying some of the components by removing inline style options and allowing CSS classes as options that override default styling. A Full list of fixes and updates:

This release simplifies the code for several of the components in the library and adds some new options to a few of them. According to semver it could be a new major release, but I am releasing it as a minor upgrade since it represents work in progress. Major features of this release:
 

  • Remove many of the inline style options for FloatingPane, CollapsiblePane, and other components.
  • Add class and headerClass options for FloatingPane and CollapsiblePane to enable easy overriding of default styles and more flexible styling via CSS classes. Note that you can also use the pre-defined styles and override with !important, which is easier for making minimal changes.
     
  • Add hideable option to ComboBox, SelectInput, TextInput to make hiding the control when not is use optional and false by default.
  • Improve ComboBox control
    • Fix styling issues with borders and input control.
    • Add new down chevron SVG as dropdown indicator. By default requires feather-icons to be accessible from the client in /node_modules/feather-icons. Change the CSS to pick a different location as needed.
    • Fix combobox export for es6, which was misspelled.
  • Upgrade various reported vulnerable devDependencies through npm.

 


Categories


Recent Entries

Entries Search