-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
405 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Bonfire Coordination | ||
|
||
This app is a flavour of [Bonfire](https://bonfirenetworks.org/) and bundles the following extensions: | ||
|
||
- [Bonfire.Common](https://github.com/bonfire-networks/bonfire_common) - common utils | ||
- [Bonfire.Me](https://github.com/bonfire-networks/bonfire_me) - accounts, user profiles... | ||
- [Bonfire.Social](https://github.com/bonfire-networks/bonfire_social) - feeds, activities, posts, boosting, flagging, etc... | ||
- [Bonfire.UI.Social](https://github.com/bonfire-ecosystem/bonfire_ui_social) - interface for basic social activities | ||
- [Bonfire.Boundaries](https://github.com/bonfire-networks/bonfire_boundaries) - define circles and associated privacy or permissions | ||
- [Bonfire.Federate.ActivityPub](https://github.com/bonfire-networks/bonfire_federate_activitypub) - federates activities with ActivityPub to participate in the fediverse | ||
- [Bonfire.Tag](https://github.com/bonfire-ecosystem/bonfire_tag) - @ mentions, hashtags, and tagging using topics/categories from Bonfire.Classify | ||
- [Bonfire.Classify](https://github.com/bonfire-ecosystem/bonfire_classify) - categories & classifications in taxonomies | ||
- [Bonfire.ValueFlows](https://github.com/bonfire-ecosystem/bonfire_valueflows) - economic activities with ValueFlows | ||
- [Bonfire.API.GraphQL](https://github.com/bonfire-ecosystem/bonfire_api_graphql) - a GraphQL client API | ||
- [Bonfire.UI.ValueFlows](https://github.com/bonfire-networks/bonfire_ui_valueflows) - reusable frontend components for economic activities | ||
- [Bonfire.UI.Coordination](https://github.com/bonfire-networks/bonfire_ui_coordinatio) - basic coordination UI for projects and communities | ||
- [Bonfire.UI.Kanban](https://github.com/bonfire-networks/bonfire_ui_kanban) - coordination tools with drag-and-drop card based UI | ||
|
||
|
||
## More information | ||
|
||
See the [main docs](../../README.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Flavour:COOPERATION | ||
bonfire_api_graphql = "https://github.com/bonfire-networks/bonfire_api_graphql#main" | ||
bonfire_ui_topics = "https://github.com/bonfire-networks/bonfire_ui_topics#main" | ||
bonfire_ui_groups = "https://github.com/bonfire-networks/bonfire_ui_groups#main" | ||
# bonfire_pages = "https://github.com/bonfire-networks/bonfire_pages#main" | ||
bonfire_classify = "https://github.com/bonfire-networks/bonfire_classify#main" | ||
# bonfire_quantify = "https://github.com/bonfire-networks/bonfire_quantify#main" | ||
# bonfire_geolocate = "https://github.com/bonfire-networks/bonfire_geolocate#main" | ||
bonfire_valueflows = "https://github.com/bonfire-networks/bonfire_valueflows#main" | ||
bonfire_ui_valueflows = "https://github.com/bonfire-networks/bonfire_ui_valueflows#main" | ||
bonfire_ui_kanban = "https://github.com/bonfire-networks/bonfire_ui_kanban#main" | ||
bonfire_ui_coordination = "https://github.com/bonfire-networks/bonfire_ui_coordination#main" | ||
# bonfire_breadpub = "https://github.com/bonfire-networks/bonfire_breadpub#main" | ||
# bonfire_ui_reflow = "https://github.com/bonfire-networks/bonfire_ui_reflow#main" | ||
# bonfire_recyclapp = "https://github.com/bonfire-networks/bonfire_recyclapp#main" | ||
# bonfire_taxonomy_seeder = "https://github.com/bonfire-networks/bonfire_taxonomy_seeder#main" | ||
# bonfire_valueflows_observe = "https://github.com/bonfire-networks/bonfire_valueflows_observe#main" | ||
absinthe_client = "https://github.com/bonfire-networks/absinthe_client#master" | ||
towel = "https://github.com/CyrusOfEden/towel" | ||
|
||
## Flavour:UPCYCLE | ||
# bonfire_upcycle = "https://gitlab.com/bonfire-networks/bonfire_upcycle#main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
# API | ||
absinthe = "~> 1.7.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
# Add any extensions/deps with a package.json in their /assets directory here | ||
# NOTE: any LV Hooks should also be added to ./deps_hooks.js | ||
# TODO: make this more configurable? ie. autogenerate from active extensions with JS assets | ||
|
||
DEPS='iconify_ex bonfire_ui_common bonfire_editor_quill bonfire_editor_ck bonfire_geolocate bonfire_ui_kanban' | ||
# | ||
|
||
chmod +x ./js-deps-get.sh | ||
./js-deps-get.sh "$DEPS" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
let ExtensionHooks = {}; | ||
|
||
// NOTE: any extensions included here need to also be added to ./deps.js.sh | ||
// NOTE: during development you may want to change 'deps' in the path to 'forks', but remember to change it back before committing! | ||
// TODO: make this more configurable? ie. don't import disabled extensions | ||
|
||
// import { ChangeLocaleHooks } from "./../../../deps/bonfire_ui_common/assets/js/change_locale" | ||
// import { InputSelectHooks } from "./../../../deps/bonfire_ui_common/assets/js/input_select" | ||
// import { NotificationsHooks } from "./../../../deps/bonfire_ui_common/assets/js/notifications" | ||
// import { CarouselHooks } from "./../../../deps/bonfire_ui_common/assets/js/carousel" | ||
// import { ResponsiveTabsHooks } from "./../../../deps/bonfire_ui_common/assets/js/responsive_tabs" | ||
// import { ThemeHooks } from "./../../../deps/bonfire_ui_common/assets/js/theme" | ||
|
||
import { CopyHooks } from "./../../../deps/bonfire_ui_common/assets/js/copy" | ||
import { TooltipHooks } from "./../../../deps/bonfire_ui_common/assets/js/tooltip" | ||
// import { PopupHooks } from "./../../../deps/bonfire_ui_common/assets/js/popup" | ||
|
||
// import { FeedHooks } from "./../../../deps/bonfire_ui_common/assets/js/feed" | ||
// import { InfiniteScrollHooks } from "./../../../deps/bonfire_ui_common/assets/js/infinite_scroll" | ||
// import { ImageHooks } from "./../../../deps/bonfire_ui_common/assets/js/image" | ||
// import { EmojiHooks } from "./../../../deps/bonfire_ui_common/assets/js/emoji" | ||
// import { EditorCkHooks } from "./../../../deps/bonfire_editor_ck/assets/js/extension" | ||
// import { EditorQuillHooks } from "./../../../deps/bonfire_editor_quill/assets/js/extension" | ||
// import { ComposerHooks } from "./../../../deps/bonfire_ui_common/assets/js/composer" | ||
|
||
import { GeolocateHooks } from "./../../../deps/bonfire_geolocate/assets/js/extension" | ||
import { KanbanHooks } from "./../../../deps/bonfire_ui_kanban/assets/js/extension" | ||
|
||
import { EncryptHooks } from "./../../../deps/bonfire_encrypt/assets/js/extension" | ||
|
||
// import LiveSelect from "./../../../deps/live_select/assets/js/live_select" | ||
import LiveSelect from "./../../../deps/live_select/priv/static/live_select.min.js" | ||
|
||
Object.assign(ExtensionHooks, CopyHooks, TooltipHooks, LiveSelect, GeolocateHooks, KanbanHooks, EncryptHooks) // EditorCkHooks, EditorQuillHooks | ||
|
||
export { ExtensionHooks } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
import Config | ||
|
||
# config :bonfire_api_graphql, | ||
# modularity: :disabled | ||
|
||
# Please note that most of these are defaults meant to be overridden by instance admins in Settings rather than edited here | ||
config :bonfire, :ui, | ||
theme: [ | ||
# instance_name: "Bonfire", | ||
instance_theme: "bonfire", | ||
instance_theme_light: "light", | ||
instance_icon: "/images/bonfire-icon.png", | ||
instance_image: "/images/bonfires.png", | ||
instance_description: "This is a Bonfire (cooperation flavour) instance for testing purposes", | ||
instance_welcome: [ | ||
title: "👋 Welcome", | ||
description: | ||
"Bonfire is a federated social networking toolkit to customise and host your own online space and control your experience at the most granular level. | ||
More details at https://bonfirenetworks.org", | ||
links: [ | ||
"About Bonfire": "https://bonfirenetworks.org/", | ||
"About ValueFlows": "https://valueflo.ws/", | ||
Forum: "https://socialhub.activitypub.rocks/g/bonfire/activity/posts", | ||
"Community Chat": "https://matrix.to/#/%23bonfire-networks:matrix.org", | ||
Contribute: "https://bonfirenetworks.org/contribute/" | ||
] | ||
] | ||
], | ||
# end theme | ||
hide_app_switcher: false, | ||
feed_object_extension_preloads_disabled: false, | ||
profile: [ | ||
# TODO: make dynamic based on active extensions | ||
sections: [ | ||
# inventory: Bonfire.UI.Reflow.ProfileInventoryLive, | ||
], | ||
navigation: [ | ||
# inventory: "inventory", | ||
], | ||
widgets: [] | ||
], | ||
# smart_input_activities: [ | ||
# category: "Create a topic", | ||
# label: "New label", | ||
# task: "Add a task", | ||
# offer: "Publish an offer", | ||
# need: "Publish a need", | ||
# # transfer_resource: "Transfer a resource", | ||
# # produce_resource: "Add a resource", | ||
# # intent: "Indicate an itent", | ||
# economic_event: "Record an economic event", | ||
# process: "Define a process" | ||
# ], | ||
# smart_input_components: [ # NOTE: replaced by the SmartInputModule behaviour | ||
# task: Bonfire.UI.Coordination.CreateTaskLive, | ||
# upcycle_intent: Bonfire.Upcycle.Web.CreateIntentLive, | ||
# upcycle_resource: Bonfire.Upcycle.Web.CreateResourceLive, | ||
# upcycle_transfer: Bonfire.Upcycle.Web.CreateTransferLive, | ||
# economic_event: Bonfire.UI.ValueFlows.SelectEconomicEventLive, | ||
# process: Bonfire.UI.ValueFlows.CreateProcessLive, | ||
# offer: Bonfire.UI.ValueFlows.CreateIntentLive, | ||
# need: Bonfire.UI.ValueFlows.CreateIntentLive | ||
# ], | ||
resource: [ | ||
navigation: [ | ||
timeline: "timeline", | ||
material_passport: "material passport" | ||
], | ||
widgets: [ | ||
# Bonfire.UI.Social.SubscribeWidgetLive, | ||
Bonfire.UI.ValueFlows.LocationWidgetLive, | ||
Bonfire.UI.Social.HashtagsWidgetLive | ||
] | ||
] | ||
|
||
# process: [ | ||
# navigation: [ | ||
# events: "Economic events", | ||
# intents: "Intents", | ||
# # material_passport: "material passport", | ||
# ], | ||
# sections: [ | ||
# events: Bonfire.UI.ValueFlows.EconomicEventsLive, | ||
# intents: Bonfire.UI.ValueFlows.IntentsLive, | ||
# ], | ||
# widgets: [ | ||
# # Bonfire.UI.Social.SubscribeWidgetLive, | ||
# # Bonfire.UI.ValueFlows.LocationWidgetLive, | ||
# # Bonfire.UI.Social.HashtagsWidgetLive, | ||
# ], | ||
# ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[ | ||
import_deps: [:ecto_sql], | ||
inputs: ["*.exs"] | ||
] |
Oops, something went wrong.