☆List of Cockpit Addons

#1

This thread is supposed be the most current source of working Cockpit Addons.

Official Addons



  • CloudStorage
    Use cloud storage providers to store assets or thumbnails





  • Regions
    Legacy addon removed from Cockpits core (replaced with singletons)

  • Lokalize
    Manage localzation strings for your app in Cockpit

Inofficial Addons

!!NOTE!!

These are addons that have been written by community members.

For these are none-official and mostly none-moderated addons most of them may not be considered “safe” to use. Note that using them is on your own risk. Installing 3rd party addons may torn massive security vulnerabilities into your cockpit installation.




  • Encrypt FieldType
    Once added your field will be encrypted when saved to DB and decrypted upon REST API request.



  • EditButton
    Addon that hacks in a convenient edit button for all regions




  • cockpit_GroupBoundAssets
    Makes uploaded assets belonging to the owner’s group (event for viewing in the asset browser)



  • ImageStyles
    Extends Cockpit core functionality by introducing the possibility to define image styles that can be assigned to image fields.

  • Cockpit-Backup-and-Restore
    Extends Cockpit core functionality by providing a granular and flexible backup and restore mechanism.

  • cockpit-EmailOnSave
    Extends Cockpit core functionality by sending a customized email when a collection is saved.

  • cockpit-import
    Spreadsheet import module for Cockpit CMS.
    Import from CSV files or JSON files (generated by Cockpit collection export functionality)
    ?Obsolete?









  • cockpit_ModuleLink
    Module Link Field for Cockpit CMS (link complete collections, singletons and forms)



  • CockpitCms-EditorFormats
    addon that extends core functionality by introducing the possibility to define editor format modes to the WYSIWYG field



  • CockpitCMS-RedisCache
    This addon extends Cockpit CMS core functionality by introducing the possibility to cache API requests using Redis memory storage.


  • CockpitCMS-Helpers
    Addon with a set of useful helpers (that alone don’t justify a new Addon)

  • [original] cockpitCms-groupapi
  • [improved fork of the above addon with ACL checking and code optimization] cockpitCms-groupapi
    Provides an API-endpoint that allows to get any cockpit data grouped up and returned bundled/combined




Obsolete Addons


  • field-rating
    Rating field for Cockpit
    Obsoleted because: Cockpit now natively has a rating field

Cockpit localization

or




Feel free to post any missing addons - I will put them up here.

5 Likes

#3

Why not, create an addon that generate a GeoJSON automatically?
Should be so nice to use that with Leaflet or OpenStreetMap.

Actually i found a workaround in JS:

$.getJSON('https://api.host.com/api/collections/get/places', function(data) {
    
    var jsonFeatures = [];
    
    data.entries.forEach(function(point){
        var lat = point.map.lat;
        var lon = point.map.lng;
    
        var feature = {type: 'Feature',
            properties: point,
            geometry: {
                type: 'Point',
                coordinates: [lon,lat]
            }
        };
    
        jsonFeatures.push(feature);
    });



	var geoJsonLayer = L.geoJson(jsonFeatures, {
	  onEachFeature: function(feature, layer){
		layer.on({
			click: whenClicked
		});
	  }
	});
	// Add geoJsonLayer to markercluster group
	markers.addLayer(geoJsonLayer);
	markers.on('click', function(e){

		console.log(e.latlng.lat + "," + e.latlng.lng);
		map.setView([e.latlng.lat, e.latlng.lng], 18);
	});

	// Add the markercluster group to the map
	map.addLayer(markers);
});

Hope this will help someone in the same case as me.

0 Likes

#4

Thanks for the list.

I wrote two addons, too.

UniqueSlugs
unique slugs for collection entries

FormValidation
a form builder and form validator, work in progress

0 Likes

#5

just pushing the thread up again (somehow the pin does not make it keep sticked to the top)

0 Likes

#6

Good work @serjoscha87, think would be useful to have a place for all community addons, a cockpit marketplace or similar where addons can be listed and categorized.

0 Likes

#7

Thank you :slight_smile:

Yes I thought about the same but someone has to build up such a marketplace. Do you know someone who could do this? :smiley:

0 Likes

#8

I thought about a directory, but the problem is quality control. I would need to check every addon just to make sure that everything works and is implemented as expected. Related to the directory, it would be then also cool to have an addon installer etc.

Hope to have a solution for this in the near future. Or maybe the community provides a solution :slight_smile:

maybe the first step would be a cli command:

./cp install/addon --name namespace/AddonName

also for language

./cp install/language --lang fr

:thinking:

1 Like

#9

A directory could also work, there are two main aspects:

  • Quality - that can be handled maybe by the community with a ranking/rating/etc… of the addon, we can have also a set of rules for that the addon must comply (folder structure, basic php rules, etc…)
  • Security - that is a bit more concerning and probably requires validation before an addon is approved, think we need to have you validating that

yep, the CLI command seems a good idea to me, we can maybe think on something similar for what I have in the helpers addon… resuming if and addon provides an info.yaml file with title, description, category that information would be used in the directory/marketplace

Let’s discuss further…

0 Likes