Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Software Directory For ColdFusion (CFML)
ForgeBox is the package repository and software directory for ColdFusion (CFML). Just leverage so you can also contribute to this directory and build amazing reusable code.
ForgeBox is an online registry of packages run by Ortus Solutions. The web UI for ForgeBox is located at . Signing up for a ForgeBox account is quick, easy, and free. You will need your own account to post packages, but anyone can browse and install packages anonymously.
If you do not already have an FORGEBOX account, you can create an account in order to publish and collaborate on packages on the public registry.
In the user signup form, type in the fields:
Username: The username that will be displayed when you publish packages or interact with other users on forgebox.io.
Email address: Your email will be used to confirm your account and to send notifications about your account. Invites to collaborate on a package, invites to join an organization, a team etc.
Password: Your password must be at least 8 characters long
Confirm the captcha
Click Create Account.
In your terminal open CommandBox by typing box
2. Type forgebox register
and enter the required information to complete the registration
Note: After signing up for a ForgeBox account, you will receive an account verification email. You must verify your email address in order to publish packages to the registry.
Go to the
Read the , and indicate that you agree to it.
If you haven't downloaded yet, download it and start enjoying the benefits when managing your packages on ForgeBox.
Search doesn't match the package slug when searching in the teams package list
Add the per-version download counts to the package version view and add the count to the version array that comes back in the entry data
Remove the ratings array from the entry response
Move this endpoint to the API (https://forgebox.io/view/coldbox/versions)
Update last updated date for a package to match the different pages that show this info across the app
replace the usage of the `prop` helper function in favor of the coldbox`forAttribute` function across the app
Update the entry versions search to allow semantic version values
Showing a graph on the package homepage with the installs counts for the last year
Show installation stats for entry and entry versions in the ForgeBox UI
Add a binaryHash field on the entryVersions table and return the value in the entry response
This major update has a bunch of performance updates, and more activity logs to keep track of all the actions you perform via CommandBox and the ForgeBox UI. We have made a big change to our search engine and introduced Elastic Search as the default search engine which provides better and more accurate results when searching on the site or using our search endpoint.
Version 6 has been a major undertaking spawning several months worth of work, a complete UI revamp for registered users, many bug fixes, multi-key API, and much more. We have also introduced our new Business Accounts () with the ability for organizations to have a simple and human way of managing their final package releases and their teams.
Make sure the last updated date is correct for packages when filtering by "updated" filter
Present Lucee extension versions in Java semver format
Add consistent xss mitigation on all views
Fix Elastic Search results and update the index properly after saving entries
Fix copy install string when viewing a cf engine package version
Add Dependency Manager
Add a link on the orgs dashboard/profile page to the Organization public profile
Improve the legal stuff pages styling that are messed up
Improve the search results and give more weight on the slug and do not apply fuzziness to all fields
Upgrade to ColdBox 7
Public ForgeBox Stats Page
Upgrade to mail services 2
Add the organizations page in the admin module
Upgrade cborm and other packages
CommandBox functions as a package manager which means you can use it to locate and install code packages for you. This gives you a consistent and scriptable method to install the libraries you need in a simple manner.
By default, the list of available packages is on ForgeBox, our CFML code sharing site. Additional endpoints such as Git, HTTP/HTTPS, and local file/folder are also available. When a package is installed, all of its dependencies are automatically installed for you for quick, easy experience.
You can easily create your own packages and register them on FORGEBOX so the whole community can start using them.
There are two ways to manage your packages on FORGEBOX.
It's up to you to choose the way you interact with your packages or you can even use them both if desired.
Via
Web UI
Send email notifications when adding and removing members from orgs/teams.
InvitationPending exception is not being handled when sending an invite to a user that already belong to the org
Fix the slugcheck endpoint that is only checking for slugs on active packages. it should account for the unpublish packages too
Issues with created and last published date times
User Failing Validation Clears Entire Form
API search does not work with user's real name
Forgebox purge unconfirmed users errors after first one
On Ipad view the cards on the homepage do not look alike
API response when publishing with an invalid API key is incorrect
Search Descriptions
Register activity logs when publishing/unpublishing via CommandBox
Numbered lists are not formatting in the package view.
Consolidate on the security checks on the Org BaseHandler instead of each handler.
cborm upgrade to latest
ColdBox Upgrade
Work on responsiveness for the user & org context pages
Admin user editor not showing packages by user
Create the ITB Banner and modal for the landing page
Add elastic search and have the ability to switch between DBSearch and elastic search.
Create the entryVersionsInstalls table to record the installation tracking per version
Figure out how to pass API Token from Lucee to Forgebox extension provider
Create a public stats page for ForgeBox
Create a ForgeBox about landing page
Give users 1 private package for free with the community plan
Add ability to filter packages by User in the admin view
Create a scheduler to wipe out the activity log according to the plan the user has.
There are several factors that determine where a package gets installed to. Here are the ways CommandBox determines the install location in order of importance.
The value of the directory
parameter passed into the install
command by the user.
The value of the installPaths.packageName
property set in the project's main box.json by the user. Where packageName
is the name of the package you are installing like logbox
.
The value of the directory
property in the package's box.json by the package author. Note, this must be a path relative to the current working directory (CWD).
Based on the package type convention if the package is a command, coldbox module, commandbox module, plugin, or interceptor.
If the package being installed is of type lucee-extensions
and if the current working directory is found to have a Lucee server in it, the lex file will instead be installed to the server context's deploy folder.
The current working directory (CWD)
Once the installation directory is determined, a folder is created that matches the package's slug which is where the package is finally copied to. If the package's createPackageDirectory property is set to false in the box.json, the package will be copied to the root of the installation directory. An example of this would be a complete application that needs to go in the web root.
The install command is used to tell CommandBox what you want. Here we ask for the stable release of the ColdBox MVC Platform. "coldbox" is the name of the ForgeBox slug.
Packages should always have a box.json
descriptor file inside them. This is especially true of packages installed from endpoints other than Forgebox since they don't have any other metadata available. CommandBox will install any zip file even if it doesn't have a box.json
, but this isn't ideal since the name, version, and type of the package must be guessed in that instance.
If you find a package on the internet that doesn't have a box.json
, please contact the maintainer and request that they add one or submit a pull request!
ForgeBox supports semantic version ranges for installing packages. Here are some examples:
When you install a package, here are the steps that are taken. Most all of this should be evident by the output streamed to the console during the install process. To get even more juicy details, use the --verbose
flag while installing.
CommandBox inspects the ID passed to the install
command to determine the endpoint to use.
The matching endpoint is asked to fetch the package represented by the ID.
For example, the ForgeBox endpoint checks the local artifact cache and possibly downloads the package.
If FORGEBOX is offline, the best match package will be looked for in your artifacts.
The package is unzipped and its box.json
is read
Installation directory is finalized
Contents of package are copied based on the ignore
and --production
flag
The package is saved as a dependency in the root box.json
The package's dependencies are installed
There are several options you can use to control how a package is installed.
By default, any package you install will be saved as a dependency. To save it as a development dependency instead, use the --saveDev
flag.
If you DON'T want the package you're installing to be saved as a dependency pass save=false
or negate the save flag as --!save
.
When you install a package, all dependencies will be installed. If you want to skip development dependencies, use the --production
flag. This will also cause CommandBox to obey the package's ignore
property in its box.json.
If you're a glutton for information, or perhaps you just want to debug what's going on, set the --verbose
flag to get extra debugging information out of the install command including a list of every file that's installed.
If CommandBox sees the directory that it was going to install into already exists with a newer or equal version of the package inside, it will decline to install again since it would be overwriting what's already there. If you want to install anyway, use the --force
flag.
In the CFML world, there are no global conventions for where to install things to nor where to store dependencies. Therefore, CommandBox for the most part will just stick packages in the root of your site unless you tell it otherwise. It may not be pretty, but it's as good as stock CFML apps can get. That means a lot of the cool things other package managers like NPM can do simply won't be available to you.
If you're using the ColdBox MVC Platform, congratulation! You just unlocked advanced mode! ColdBox uses conventions that tells you where to put stuff, and most importantly it has modularity as a first class citizen. Not only that, but modules can be nested infinitely to nicely encapsulate dependencies and WireBox will automatically find and register each module's models for your application to use.
Modules are basically smart packages and when CommandBox installs or uninstalls modules it will behave a bit differently to take advantage of the functionality only available to the CFML world via the ColdBox Platform.
When installing a module, it will be placed in the modules/ directory. That means the cbvalidation module will install here:
The cbvalidation module has dependencies of its own but it is an island unto itself and will encapsulate these. Therefore the cbi18n module will be installed in a modules/ folder inside cbvalidation.
You'll be able to see a nice representation of this when you use the list
command.
What this opens the door for is more than one module to depend on different versions of the same second module. Both can be installed and nested under the respective parent. In the near future, WireBox will be smart enough to present these nested modules only to their parents so they are fully encapsulated.
The idea is that a module can "see" and use another module installed at the same level or higher in the hierarchy, but not lower. That makes dependencies a bit of a black box to their parents. This also allows us to bypass some redundancy. For instance, when installing a module, if a satisfying version of that module already exists at a higher level, we skip the installation. Consider this example:
We know that cbvaliation requires cbi18n, but since it is already installed in the root modules folder, we won't install it again under cbvalidation.
The last way modules are better than sliced papusas is in how they uninstall. We talked about how non-modules install-- just littered in the web root in a jumble of dependencies. When uninstalling a non-module package, CommandBox will recursively go through the dependencies and remove them as well. However, when uninstalling a module, that module's folder is simply deleted and that's it. Since all dependencies are contained in the "black box", there's no need to go hunting for them.
Packages are quite simply a folder that contains some code and a box.json
file. A package can be a simple CFC, a self-contained library, or even an entire application. ColdBox and ContentBox modules also make great "smart" packages.
Remember, packages aren't just the things you install into your application, but your application is a package too! That's why when you install something in your app, we'll create a /box.json if it doesn't exist to start tracking your dependencies.
Your box.json
file describes your package, dependencies, and how to install it. To turn a boring folder into a sweet package just run the init
command in the root of the folder.
When making a package available on ForgeBox, each version of that package has its own location. Most download locations point to a zip file, that when extracted, contains a folder with a box.json in it. The box.json designates the root of the package. However, the location
property of your box.json can be any valid endpoint ID. An example would be:
In that case, the location
for version 1.0.0
of this package is the v1.0.0
tag in that GitHub repository.
ForgeBox can store the binaries for your packages in the ForgeBox Cloud. This provides you with an easy way to store multiple versions of your package distributed across the globe.
To utilize ForgeBox Storage, simply set forgeboxStorage
as the value of your package's location
.
When you publish a package, CommandBox will automatically zip up your package and send it to ForgeBox.
Below is an example of the commands that would take you from scratch to a published package:
FORGEBOX supports private packages. Private packages are only visible to the user who created it. To create a private package, pass the private
flag to the package init
command.
CommandBox does more than help you install packages. It also helps you keep them up to date as well. Remember, you can always get a quick list of all the dependencies installed on your app with the list
command.
To check and see if any of your installed packages can be updated to a newer version, run the update
command.
Entering "yes" will install the newest version of the package. Use the --force flag to automatically answer "yes". It is also possible to get a list of outdated dependencies without the prompt to update them with the outdated
command.
The table of information in the outdated
and update
command has several different version numbers. This is what they mean:
Package - This contains the slug and semver range you've put in your box.json
file. i.e., what version you "asked" for.
Installed - This is the exact version installed right now in your project
Update - This is the newest possible version of the package that satisfies the semver range in your box.json
. Not there may be newer versions of the library not shown here depending on what your semver range is allowing. A red highlight in this columns means a new version is available.
Latest - This is the absolute latest stable version of this package regardless of your semver range. In order to update to this version, you may need to run the install
command again and ask specifically for it. An orange highlight in this column means a new major update is available.
If you are using a ForgeBox package, the update
command will comply with the semantic versioning range you specify. For example, if you have a dependency installed with a version saved of ^2.0.0
it will update you all the way to 2.9.9
but it will never install 3.0.0
until you ask it to. This is because breaking changes come in major versions, but minor releases are supposed to be compatible.
The way CommandBox determines whether there is a new version of a package differs based on the endpoint that installed the package. Versions are always treated as a semantic version (Major.Minor.Patch).
ForgeBox - The ForgeBox REST API is used to get the latest package version.
HTTP(S) - Package is always considered outdated, and re-downloaded.
File - The box.json's version is used from the zip. If box.json doesn't exist, the package is always considered outdated.
Folder - The box.json's version is used from the folder. If box.json doesn't exist, the package is always considered outdated.
Git - Package is always considered outdated, and re-cloned.
If you want to integrate your package updates with an external process, you can get this data back as JSON so it can be parsed and used by another system.
That's it. Your folder now has extra meta data in the box.json
file that describes it in a way that is meaningful to and CommandBox.
Note, keep in mind that you will need a or account to create private packages.
Inside CommandBox, use the forgebox namespace to search for packages or show packages of your choosing.
The first command to try out is "forgebox search". It takes a single parameter which is a string to perform a case-insensitive search for. Any entry whose title, summary or author name contains that text will be displayed:
The "forgebox show" command takes several parameters and is pretty flexible. The first way to use it is to just view the details of a single entry using the slug.
You can get lists of items filtered by package type (modules, interceptors, caching, etc) and ordered by popular, new, or recent. Here are some examples:
Too many results on one page? Use the built-in pagination options:
Or just pipe the output into the built-in "more" or "grep" command.
If you have trouble remembering the valid types or order by's, remember you can always hit "tab" for autocomplete within the interactive shell. Adding "help" to the end of any command will also show you the specific help for that command.
The list of types in ForgeBox is dynamic so we don't list them out in the help. Instead, we made a handy "forgebox types" command to pull the latest list of types for you.
Packages can be managed through the official website and allow you to do things visually if you are not a CLI fan.
As a registered user, you will be able to access the package manager and you will be able to create, update and delete packages and its package versions.
To create a private package, set the private
property to true
in your box.json
prior to publishing.
Replace forgeBoxUser
with your actual ForgeBox username. When you install the package, you'll need to use the full slug like so:
You can install specific versions or version ranges as you would expect:
Keep in mind that the private packages are a paid feature, however, we are giving one private package with the community plan for free for you to explore and play with it.
FORGEBOX allows you to publish packages that only you can see and install. You'll be able to view your private package from the CLI, in the search, and in your ForgeBox account, but these packages will now show up for any other users.
Learn about the existing editions and get the one that best fits your needs.
FORGEBOX is and will be FREE forever, however, there are some editions if you want to have additional features, manage your organization and teams or even host your own instance of FORGEBOX so you can have the exclusivity and security with all the benefits of the community version.
The free edition of FORGEBOX that helps foment the ColdFusion (CFML) community. Learn more about all the features of this account .
Directed to the software professional or small business in need of many packages and collaborations. Learn more about all the features of this account .
Directed towards organizations and teams so they can collaborate and support their software building needs. Learn more about all the features of this account .
Directed to the software professional or small business in need of many packages and collaborations. Learn more about all the features of this account .
The free edition of FORGEBOX allows you to browse packages, install packages and publish public packages to the registry, and that way you help grow the ColdFusion (CFML) community.
The pro account is directed to the software professional or small business in need of many packages and collaborations.
This is a subscription-based plan, in order to subscribe you can go to Plan & Billing under Settings on the user sidebar.
With your free account, you will get the following features.
Unlimited public packages
Publish as many packages as you want, with no limit on public packages. The CFML community will appreciate this.
Unlimited collaborators on public packages
On FORGEBOX you can collaborate on other users' packages and invite other users' to collaborate on your own packages.
1 private package
You will be able to create one private package for FREE so you can get to know the private package capabilities.
10GB of storage for your packages
Up to 10GB of storage for you to store packages in the FORGEBOX cloud.
7 days of activity log
You will be able to see all kinds of activities such as package updates, collaboration invites, profile updates, etc for up to 7 days.
Community support
Get to know the FORGEBOX community and get support from them.
Collaborators public community support
Collaborators can be another important resource when requiring support.
With your pro account you will get the following features.
Unlimited private packages
Publish as many packages as you want, no restrictions here. The CFML community will appreciate this.
10 collaborators on private packages
Get unlimited collaborators on public packages and up to 10 collaborators on private packages.
Private package based permissions
You can have read access only or read/publish access on private packages
90 days of activity log
You will be able to see all kinds of activities such as package updates, collaboration invites, profile updates, account changes, system actions etc for up to 90 days.
50GB of storage for all packages
Up to 50GB of storage for you to store your public and private packages in the FORGEBOX cloud.
Basic support (Email + Slack)
Get access to the boxteam slack channel where you get support from the community and the Ortus members. Get basic support via Email.
Directed towards organizations and teams so they can collaborate and support their software building needs.
FORGEBOX Business allows you to create your organization, members and teams to contribute to your organization; have the ability to read, write, and publish public or private scoped/non-scoped packages.
Creating an organization in FORGEBOX is free for you as the owner, however, there is a cost for each extra member you add to the organization. and take your organization to the next level.
Within the organization exists roles that can be assigned to the organization members according to their duties and permissions.
Super Admin
Controls billing & adding and removing people in the org.
Admin
Manages teams & package access.
Member
Works on packages they are given access to.
CommandsIntegrating CommandBox with your own ForgeBox endpoint is very simple. Please review the available commands and follow our guide to learn how to interact with ForgeBox from the CLI.This is a list of the commands you have available to integrate with ForgeBox enterprise.
forgebox endpoint list
forgebox endpoint register
forgebox endpoint remove
forgebox endpoint set-default
You can always ask CommandBox for help by adding a question mark at the end of your command. example: forgebox endpoint ?
ForgeBox Enterprise is an offering by Ortus Solutions that allows you to have a custom and private hosted version of ForgeBox for your company to use. You can always use the public ForgeBox version if you want too.
All the goodness of the community version, but with the exclusivity and security of your own instance to collaborate, modernize and conquer!
FORGEBOX ENTERPRISE is a hosted private software registry with exclusive security, collaboration and scalability features. Empower your development teams to build applications rapidly, modern and secure. FORGEBOX ENTERPRISE will enhance development team the following capabilities:
Private software registry to manage and shared code packages (engines, projects, demos, modules, etc. ) across your organization.
Public or Private packages
Internal collaborators and access controls
Custom named integration with CommandBox CLI.
Fine grained User Access Control, Roles and Permissions.
Package type management
Scalable Artifact Storage
Up to 250GB of storage included
SSL Included
Software firewall included
Artifact CDN Included
Enterprise Support, SLAs and mentorship
Containerized Environment with redundancy and scalability
Package Security Audits (**Coming Soon)
Package white and black lists (**Coming Soon)
Two-factor authentication (**Coming Soon)
Single Sign On (**Coming Soon)
Please note that you will need or later to integrate FORGEBOX with your own endpoint.
Every FORGEBOX Enterprise includes up to 250GB of binary storage with elastic capabilities.
ForgeBox can store the binaries for your packages in the ForgeBox Cloud. This provides you with an easy way to store multiple versions of your package distributed across the globe.
To utilize ForgeBox Storage, simply set forgeboxStorage
as the value of your package's location
.
When you publish a package, CommandBox will automatically zip up your package and send it to ForgeBox.
https://www.forgebox.io/api/v1/ is the default endpoint and you can always check your registered endpoints by typing
forgebox endpoint list
In order to register a new endpoint, just give it a name and set your endpoint as follows:
forgebox endpoint register stg-forgebox
https://forgebox.stg.ortushq.com/api/v1/
The next step is to authenticate against your endpoint using valid credentials as is shown below:
forgebox login endpointName=stg-forgebox
If you want to update your endpoint to be the default one, just do it like this:
forgebox endpoint set-default stg-forgebox
This will default your endpoint and you will be able to install packages from your endpoint without giving a namespace.
Once you have registered your endpoint and you are authenticated, you will be able to install packages from your custom endpoint like this:
install stg-forgebox:coldbox
In the previous example you can see we are installing a coldbox
package from stg-forgebox
which is our custom endpoint instead of the default one.
You can remove endpoints anytime by using the remove command:
forgebox endpoint remove demo-endpoint