Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: 0.3 #154

Open
wants to merge 309 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
548aaaa
Add splash file.
martindale Feb 10, 2016
3b4884c
Add all changes from melody prototyping.
martindale Feb 24, 2016
3aae398
Merge pull request #116 from martindale/melody
martindale Feb 24, 2016
6b15189
Update and internalize changes from martindale/melody#9.
martindale Feb 25, 2016
d8fcd82
Remove "internal" attribute from Index.
martindale Feb 25, 2016
d03f9dc
Make changes necessary to support Melody + Identity.
martindale Feb 29, 2016
74e9e19
Add bitcore dependencies for mnemonics.
martindale Feb 29, 2016
0fbfb72
Add all identity-related Components.
martindale Feb 29, 2016
7e17c23
Switch to minified `bitcore-mnemonic`.
martindale Feb 29, 2016
13a1634
Emit !identity when logging out.
martindale Mar 2, 2016
fcadd84
Begin to add the peer manager
martindale Mar 5, 2016
fde4afd
Import peer.js for basic implementation.
martindale Mar 5, 2016
63cd9e2
Add peerJS to the package file.
martindale Mar 5, 2016
2864d4b
Add support for populate on `create`.
martindale Mar 6, 2016
0aa9c92
Add some changes for peering.
martindale Mar 14, 2016
2ca65eb
Make single component URLs function correctly for deployed applications.
martindale Mar 14, 2016
4d62f16
Switch to `async` for most component scripts.
martindale Mar 16, 2016
b1fa022
Add new `step-ladder` component for onboarding to identity.
martindale Mar 16, 2016
89b54f9
Patch _register.
martindale Mar 22, 2016
0d130ad
Merge branch 'polymer' into peering
martindale Mar 28, 2016
dd98eec
Implement better flow for identity manager.
martindale Mar 28, 2016
073512e
Improve logout flow.
martindale Mar 28, 2016
39e55a7
Always fall back to server.
martindale Mar 29, 2016
eff184e
Always use PUT instead of POST.
martindale Mar 29, 2016
4424373
Improve code for channel, step-ladder.
martindale Mar 29, 2016
c0f9ede
Switch to POST instead of PUT.
martindale Mar 31, 2016
67dce68
Add jQuery to top-level bundle.
martindale Mar 31, 2016
2fabbb1
Update to latest jQuery.
martindale Apr 1, 2016
5443cb7
Remove jQuery from bundler.
martindale Apr 1, 2016
453ef61
Add project status to README
martindale May 29, 2016
ed65290
Improve the 404 page (to become default later).
martindale May 29, 2016
821f2d7
Add better sorting to the `get` method.
martindale May 29, 2016
36abd6d
Handle patches on sockets, accept resourcemap.
martindale May 29, 2016
101814c
Add browserify-shim and upgrade understcore
martindale May 29, 2016
ebf5d5c
Add tool to synchronize profiles from Slack.
martindale May 29, 2016
b689512
Add instructions for configuring.
martindale May 29, 2016
297b86d
Add support for synchronizing all available data.
martindale May 29, 2016
dc0cb70
Add support for description links.
martindale May 29, 2016
2c45b84
Add better titles and descriptions.
martindale May 29, 2016
44b4937
Add better individual profile pages.
martindale May 29, 2016
4da3c3a
Add better support for POST vs. PUT in the HTTP service.
martindale May 29, 2016
db41e89
Add better descriptors for the /people resource.
martindale May 29, 2016
4b3c0d5
Add support for specifying a description field.
martindale May 29, 2016
c4a1207
Make image population more robust, add `image` field.
martindale May 29, 2016
bcbf8cc
Clean up requirements.
martindale May 29, 2016
fd82f2a
Fix `limit` for `query` on Resource.
martindale May 29, 2016
74518ce
Only accept undeleted users.
martindale May 29, 2016
7217c95
Merge pull request #123 from martindale/recognition
martindale May 29, 2016
478f7f1
Bundle most recent changes to identity creator.
martindale Jun 2, 2016
bd3225d
Disable PATCH events from websockets.
martindale Jun 3, 2016
eea92d1
Add missing async.min.js
martindale Jun 3, 2016
020156c
Add missing "resource" component.
martindale Jun 3, 2016
e609250
Add NeDB for data storage.
martindale Jun 3, 2016
86dce3b
Add the content-store.
martindale Jun 3, 2016
6d131ff
Simple key-value store.
martindale Jun 3, 2016
a8777b4
Add new `Topic` Resource.
martindale Jun 18, 2016
c91471a
Add new display for Topics, include sync tool.
martindale Jun 18, 2016
3bcd76f
Add tooltips, improve call to action.
martindale Jun 18, 2016
ef1cb47
Always use a blue button, CTA or not.
martindale Jun 18, 2016
3b07800
Add single-Topic view.
martindale Jun 18, 2016
e0b0797
Pass information to community invitation page.
martindale Jun 18, 2016
f1a3cc5
Begin to integrate content to rest of site.
martindale Jun 18, 2016
2f9faa6
Stylize topic display.
martindale Jun 19, 2016
7999735
Standardize on <small> for octothorpes.
martindale Jun 19, 2016
d0094af
Add and improve community engagement
martindale Jun 19, 2016
ee404a2
Polish on bug reporting user experience.
martindale Jun 19, 2016
bab142c
Final topic polish, including indicator of quest status.
martindale Jun 19, 2016
9db3797
Improve metadata.
martindale Jun 19, 2016
7a520ba
Add header to allow JSON to be retrieved from anywhere.
martindale Jun 19, 2016
bc9c901
Also ask visitors to start conversations.
martindale Jun 19, 2016
ed4bcb8
Merge pull request #126 from martindale/topic-curation
martindale Jun 19, 2016
6229d29
Merge branch 'maki.io' of github.com:martindale/maki into content-int…
martindale Jun 19, 2016
85f4af1
Merge branch 'headers' into content-integration
martindale Jun 19, 2016
70d5507
Minor patch.
martindale Jun 20, 2016
a82b755
Full bundle of message imports, display for topics.
martindale Jun 20, 2016
e2cc9db
Re-order and slice.
martindale Jun 20, 2016
89d3537
Add better verbiage.
martindale Jun 20, 2016
abb527f
Allow for sorting of query.
martindale Jun 20, 2016
c8625db
Add new internal method for emoji.
martindale Jun 21, 2016
4815064
Add emoji support, messages.
martindale Jun 21, 2016
b2be923
Remove external asset
martindale Jun 21, 2016
645e249
Add and utilize `fields` more appropriately.
martindale Jun 21, 2016
1f6e885
Complete overhaul of layouts/default.jade
martindale Jun 21, 2016
fa0befe
Improve masthead display.
martindale Jun 21, 2016
fe276fa
Import masthead changes to maki.io website.
martindale Jun 21, 2016
1da81bc
Minor patches.
martindale Jun 21, 2016
60b4a94
Add support for hidden menu items.
martindale Jun 21, 2016
4e2daf4
Give components handles.
martindale Jun 21, 2016
d2058f9
Improve logo display.
martindale Jun 21, 2016
bc6083e
Restore footer and overall content.
martindale Jun 21, 2016
945beb3
Add new naming properties.
martindale Jun 21, 2016
24d4efa
Fix footer once and for all.
martindale Jun 21, 2016
f510730
Switch the mobile menu to be right aligned.
martindale Jun 29, 2016
d7b412d
Merge pull request #128 from martindale/content-integration
martindale Jun 29, 2016
c316ee9
Add basic stats to topic page.
martindale Jul 1, 2016
fb5645e
Add first prototype of Slack importer.
martindale Jul 1, 2016
618b7e1
Improve developer onboarding.
martindale Jul 4, 2016
a9b622f
Add messaging, edit buttons.
martindale Jul 4, 2016
8828135
Pin `maki-cms-local` to GitHub `master`.
martindale Jul 4, 2016
8e93df2
Fix previous commit.
martindale Jul 4, 2016
575b7ef
Add support for parsed Slack messages.
martindale Jul 17, 2016
cafef57
Add support for parsed Slack messages.
martindale Jul 17, 2016
bf4935d
Add better support for Community participation.
martindale Jul 17, 2016
382129f
Correctly enumerate Topic subscribers.
martindale Jul 18, 2016
51f7a70
Add a new Invitation resource.
martindale Jul 18, 2016
78d9784
Add topic to each message.
martindale Jul 22, 2016
1be70af
Improve output for Topic synchronization tool.
martindale Jul 26, 2016
43166ca
Add better logging for channel messages.
martindale Jul 26, 2016
0f5623b
Add a new Introduction snippet.
martindale Jul 29, 2016
0314427
Improve styling for the new introduction page.
martindale Jul 29, 2016
e1f73f3
Adding additional channels of interest
LawOfTheLand Jul 30, 2016
3569199
Merge pull request #130 from LawOfTheLand/patch-1
martindale Jul 30, 2016
a28d908
Add several new Resources, clean up menu.
martindale Jul 31, 2016
da11bdd
Merge branch 'community' of github.com:martindale/maki into community
martindale Jul 31, 2016
7324525
Update some styling.
martindale Jul 31, 2016
df4692b
Further improvements to flow.
martindale Jul 31, 2016
0f043d7
Add support for Resource.count()
martindale Aug 5, 2016
8e7edfa
Add and improve modal flow; add support for named requirements.
martindale Aug 6, 2016
514a3df
Add functional chat integration.
martindale Aug 9, 2016
15d752a
Add missing plugin for production use.
martindale Aug 9, 2016
a7a05e0
Improve message interface.
martindale Aug 9, 2016
b0b806f
Refine the signup modal.
martindale Aug 9, 2016
1a93879
Improve style and flow for topics.
martindale Aug 11, 2016
7e43ce1
Add a floating sidebar to Page displays.
martindale Aug 18, 2016
1652d94
Add link for maki-auth-flex
overra Aug 18, 2016
454f77b
Merge pull request #131 from overra/patch-2
martindale Aug 18, 2016
bda31ed
Improve overall styling.
martindale Aug 19, 2016
ad524bd
Merge branch 'community' of github.com:martindale/maki into community
martindale Aug 19, 2016
4a59ae5
Improve resource creation flow.
martindale Aug 19, 2016
fc4e8bf
Improve verbiage around the "code" icon.
martindale Aug 19, 2016
42ad602
Generally improve uniformity across all pages.
martindale Aug 19, 2016
833b596
Switch to human-friendly dates.
martindale Aug 19, 2016
146f2e1
Improve topic sync logging.
martindale Aug 19, 2016
159d9dc
Migrate token management elsewhere.
martindale Aug 19, 2016
0b6ae9a
Stylize hidden inputs.
martindale Aug 19, 2016
a04c4b7
Add new sidebar for profiles.
martindale Aug 19, 2016
262e076
Fix channel creators
martindale Aug 20, 2016
20d72ac
Allow footer to be extensible.
martindale Aug 23, 2016
c0ff473
Tidy styles.
martindale Aug 23, 2016
3577c1c
Minor patch for navbar addition.
martindale Aug 23, 2016
f1b53a2
Improve content view for topic pages.
martindale Sep 7, 2016
1ca1492
Upgrade to Semantic UI 2.2.4.
martindale Sep 19, 2016
676649d
General layout improvements.
martindale Sep 19, 2016
92daaec
Tighten up documentation, various pages.
martindale Sep 19, 2016
1a68b6f
Initial working prototype of message threading.
martindale Sep 21, 2016
8c2648f
Patch in Slack.
martindale Sep 21, 2016
725960c
Add documentation.
martindale Sep 21, 2016
3326b5b
Merge pull request #132 from martindale/threading
martindale Sep 21, 2016
fb27caf
Merge branch 'community' of github.com:martindale/maki into community
martindale Sep 21, 2016
c99eae0
Merge pull request #124 from martindale/reconcile
martindale Sep 21, 2016
7017432
Remove smoothscroll overall, focus on topics.
martindale Sep 24, 2016
0e44742
Remove annoying line below `.vertical.segment` components.
martindale Sep 24, 2016
b86533f
Merge branch 'peering' into community-peering
martindale Sep 24, 2016
0fd932c
Merge branch 'community' into community-peering
martindale Sep 24, 2016
6378fe5
Navbar fixes.
martindale Sep 24, 2016
93c98c4
Remove the icon in the userlist for topic pages.
martindale Sep 28, 2016
59ba2a4
Format channel topics with Markdown, enabling links and other features.
martindale Sep 28, 2016
d5cbc58
Merge branch 'peering' of github.com:martindale/maki into community-p…
martindale Oct 2, 2016
d9df75e
Set the default value for Invitation status to `created`.
martindale Oct 3, 2016
8eae90a
Merge branch 'community' of github.com:martindale/maki into community
martindale Oct 3, 2016
7aa99f2
Merge branch 'community' into community-peering
martindale Oct 3, 2016
cb042e4
Move membership list to left column on profile pages
martindale Oct 18, 2016
92cf983
Merge branch 'community' of github.com:martindale/maki into community
martindale Oct 18, 2016
9426af8
Add stubs for examples, with some initial titles
martindale Oct 19, 2016
c16299d
Improve signup flow
martindale Oct 22, 2016
ffa088c
Add missing assets for melody
martindale Oct 22, 2016
f4defe2
Add support for URI filters
martindale Oct 22, 2016
bd37b3e
Add copy of "Why are we here" to repo
martindale Oct 23, 2016
6527812
Begin gitbook application
martindale Oct 23, 2016
3e159b8
Update introduction.md
toriborealis Oct 23, 2016
dcc4328
Merge pull request #135 from toriborealis/patch-1
martindale Oct 23, 2016
b515e67
Re-organize table of contents
martindale Oct 23, 2016
e904910
Merge branch 'community' of github.com:martindale/maki into community
martindale Oct 23, 2016
a23919e
Improve documentation organization
martindale Oct 23, 2016
2c3f199
Add configuration for gitbook
martindale Oct 23, 2016
97c8f49
Merge branch 'community' of github.com:martindale/maki into community…
martindale Oct 23, 2016
a873637
Add Contributors list.
martindale Oct 23, 2016
864727f
Continue refining content
martindale Oct 23, 2016
503a138
Add Fabric overview
martindale Oct 23, 2016
6877d36
Add missing Fabric overview
martindale Oct 23, 2016
d8d61a1
Merge branch 'community' of github.com:martindale/maki into community
martindale Oct 23, 2016
1a938fb
Add and improve links to Fabric docs
martindale Oct 23, 2016
de15af0
Merge branch 'community' of github.com:martindale/maki into community
martindale Oct 23, 2016
928c907
Add support for dynamic about and copyrights
martindale Nov 1, 2016
342f261
Add new `masthead` and `cta` configuration options
martindale Nov 3, 2016
5505255
Improve title formatting features
martindale Nov 3, 2016
8832418
Add content for Maki example
martindale Nov 3, 2016
3f87964
Merge branch 'community' into community-peering
martindale Nov 3, 2016
0fa1139
Fix includes bug
martindale Nov 3, 2016
e452c08
Add new masthead component
martindale Nov 4, 2016
36c1b74
Add support for masthead, waiting-list.
martindale Nov 23, 2016
2876392
Allow waiting-list to receive `src`
martindale Nov 23, 2016
ee7e4a6
Improve waiting list flow.
martindale Nov 24, 2016
019f6ef
Add better flow for waiting-list
martindale Nov 24, 2016
4aaf550
Add some new options for typography
martindale Nov 26, 2016
72780c8
Switch to synopsis for index pages.
martindale Nov 27, 2016
e39542b
Merge branch '0.3' of github.com:martindale/maki into 0.3
martindale Nov 27, 2016
d62adeb
Use pitch instead of synopsis
martindale Nov 27, 2016
d49f80c
Use correct font-size on mobile
martindale Nov 27, 2016
0e105a9
Add new instructions for signing commits
martindale Nov 28, 2016
4b6aba3
Add further instructions for verifying signatures
martindale Nov 28, 2016
326361c
Consolidate layout
martindale Nov 29, 2016
553cbdf
update Analytics definition
martindale Nov 29, 2016
222bd3a
Dynamize the `maki-waiting-list` component
martindale Dec 3, 2016
e69007d
Merge branch 'master' of github.com:martindale/maki into 0.3
martindale Dec 3, 2016
735ca07
Add log event for application ready
martindale Dec 3, 2016
569c170
Merge branch '0.3' of github.com:martindale/maki into 0.3
martindale Dec 3, 2016
11ac750
Bind input element to `email` attribute
martindale Dec 5, 2016
2893516
Add rudimentary `build` function.
martindale Dec 5, 2016
66514c9
Add support for local `source` folders
martindale Dec 6, 2016
3286a86
Begin integration of new router work
martindale Dec 10, 2016
2bcb5ae
Add support for masthead updates.
martindale Dec 12, 2016
6b6ca28
General updates to community profiles.
martindale Dec 12, 2016
506794a
General updates to use new components
martindale Dec 12, 2016
86796d6
Further improve general appearance of generated components
martindale Dec 13, 2016
797cc68
Reduce and simplify various top-level components
martindale Dec 13, 2016
6796092
Move sidebar opener to top level content
martindale Dec 13, 2016
ddc5dae
Add sustainability to badges.
martindale Jan 7, 2017
17546a4
Merge branch '0.3' of github.com:martindale/maki into 0.3
martindale Jan 7, 2017
7cb5e19
Initial mockup of new header format
martindale Mar 5, 2017
5b35073
Improvements necessary for search
martindale Mar 24, 2017
7294f1a
Add components
martindale Mar 24, 2017
9bea3cc
Add contract authors to topics, migrate fields
martindale Mar 24, 2017
6ce82a9
Add internal build of Semantic UI
martindale Mar 26, 2017
eb4e7eb
Cleanup less middleware
martindale Mar 26, 2017
d2ad023
Loosen .gitignore rules on `public`
martindale Mar 26, 2017
1d6bdea
General code cleanup
martindale Apr 1, 2017
4e8fa3d
Tidier search results
martindale Apr 1, 2017
dfa31a3
Add search plugin
martindale Apr 1, 2017
5aec179
Simplify headers
martindale Apr 1, 2017
6ace59e
Re-wrap logs in debug
martindale Apr 1, 2017
3461700
Repair masthead, prepare for :ship:
martindale Apr 1, 2017
0b6505a
Add maki-dropdown
martindale Apr 3, 2017
e30dd4c
self init dropdowns
martindale Apr 3, 2017
ef1ce62
Improve masthead behavior
martindale Apr 3, 2017
5f0caf3
Add open source promise
martindale Apr 3, 2017
96f137e
Use new CMS for Examples.
martindale Apr 3, 2017
07f995c
Add first draft of Maki explanation
martindale Apr 6, 2017
82833b4
Improved Chat flow
martindale Apr 10, 2017
f808ed4
Add commentary about next steps
martindale Apr 10, 2017
0809988
Merge branch '0.3' of github.com:martindale/maki into 0.3
martindale Apr 10, 2017
4740230
Disable SPDY startup
martindale Apr 14, 2017
f6c4c59
Disable certificate generation
martindale Apr 14, 2017
1e3e347
Final patches
martindale Apr 14, 2017
3cef952
general workflow improvements for new developers
martindale May 9, 2017
de24c2d
Allow optional WebSockets, improve logging
martindale Jun 9, 2017
cd7e3d9
Grammar fixes
LawOfTheLand Jul 11, 2017
550639b
Merge pull request #150 from LawOfTheLand/patch-2
martindale Aug 10, 2018
b60e8e6
Merge remote-tracking branch 'origin/maki.io' into release-0.3
martindale Aug 10, 2018
87c999d
Merge remote-tracking branch 'upstream/community' into release-0.3
martindale Aug 10, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .bookignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bin/*
config/*
data/*
lib/*
private/*
test/*
views/*
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ results

npm-debug.log

/public/css/*
/public/css/maki.css
node_modules
4 changes: 4 additions & 0 deletions .nodemonignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
public/* # static files
#/views/*
data/*
docs/*
examples/*
node_modules/*
45 changes: 13 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Maki
==============
![Project Status](https://img.shields.io/badge/status-alpha-red.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/martindale/maki.svg?branch=master&style=flat-square)](https://travis-ci.org/martindale/maki)
[![Coverage Status](https://img.shields.io/coveralls/martindale/maki.svg?style=flat-square)](https://coveralls.io/r/martindale/maki)
[![Community](https://chat.maki.io/badge.svg)](https://chat.maki.io/)
[![Total Contributors](https://img.shields.io/github/contributors/martindale/maki.svg?style=flat-square)](https://github.com/martindale/maki/contributors)
[![Sustainability](https://img.shields.io/gratipay/team/fabric-foundation.svg?style=flat-square)](https://gratipay.com/Fabric-Foundation)

The complete stack for building extensible apps, faster than ever. Hand-roll your application by telling Maki what your application does, and it takes care of the rest – without getting in your way if you want to customize it.

Expand Down Expand Up @@ -87,39 +89,18 @@ Maki aims to be as lightweight as possible while still offering a base stack tha
## Documentation
For our documentation, see the `docs/` subfolder.

## Recommended Deployment
I use [pm2](https://github.com/unitech/pm2) (`npm install pm2 -g`) to manage node apps in production, and I strongly recommend you do, too. It's got awesome features like log management, process clustering, and automatic startup scripts.

For Maki by itself, `pm2 start maki.js` will produce the following:
```bash
> pm2 start maki.js
PM2 Process launched
┌──────────┬────┬─────────┬───────┬────────┬───────────┬────────┬─────────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├──────────┼────┼─────────┼───────┼────────┼───────────┼────────┼─────────────┼─────────────┤
│ maki │ 0 │ cluster │ 93966 │ online │ 0 │ 0s │ 25.652 MB │ unactivated │
└──────────┴────┴─────────┴───────┴────────┴───────────┴────────┴─────────────┴─────────────┘
Use `pm2 desc[ribe] <id>` to get more details
```

You can check on running processes using `pm2 ls`. For example, on a server with multiple running services:
```bash
> pm2 ls
┌────────────┬────┬─────────┬───────┬────────┬───────────┬────────┬──────────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├────────────┼────┼─────────┼───────┼────────┼───────────┼────────┼──────────────┼─────────────┤
│ para │ 0 │ cluster │ 21140 │ online │ 0 │ 14d │ 69.734 MB │ unactivated │
│ worker │ 1 │ cluster │ 21142 │ online │ 0 │ 14d │ 83.996 MB │ unactivated │
│ bot │ 2 │ cluster │ 21223 │ online │ 1 │ 14d │ 115.543 MB │ unactivated │
│ maki │ 3 │ cluster │ 21154 │ online │ 0 │ 14d │ 92.676 MB │ unactivated │
│ soundtrack │ 4 │ cluster │ 32655 │ online │ 3 │ 18h │ 324.176 MB │ unactivated │
└────────────┴────┴─────────┴───────┴────────┴───────────┴────────┴──────────────┴─────────────┘
Use `pm2 desc[ribe] <id>` to get more details
```
## Contributors
- [@martindale](https://github.com/martindale)
- [@chrisinajar](https://github.com/chrisinajar)
- [@jlukic](https://github.com/jlukic)
- [@unusualbob](https://github.com/unusualbob)
- [@overra](https://github.com/overra)
- [@unChaz](https://github.com/unChaz)
- [@toriborealis](https://github.com/toriborealis)

For production monitoring, see also `pm2 monit`, `vtop` (available via `npm install vtop -g`), and [StrongLoop](http://strongloop.com/).
Special thanks to [the whole Maki community](https://maki.io/people) for supporting this project with their presence and more.

Use environment variables for configuration. See `config/index.js` for a list of configurable values.
Many, many other contributors deserve recognition for their work on the open source projects that have made Maki possible. See `package.json` for just a few of them.

## Spirit
Please feel free to submit changes to this repo via pull requests! We're trying to keep this as general and flexible as possible, so anyone can take the project and run with it.
60 changes: 60 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Summary

### Overview
- [Why are we here?][why-are-we-here]

### Developers
- [Getting Involved](source/developers/getting-involved.md)
- [Community Projects](https://slack-files.com/T09HF1HK9-F2PNSMKD2-00a26fd573)
- [Running in Production](source/snippets/production.md)

### Examples
- [Simple Content Site](source/examples/content.md)
- [Advanced Web Service](source/examples/infrastructure.md)
- [Robust Multi-Platform App](source/examples/robust.md)

### Tutorials
- [Overview](source/tutorials/index.md)
- [Initial Setup](source/tutorials/initial-setup.md)
- [Hello, World!](source/tutorials/hello-world.md)
- [Adding Resources](source/tutorials/adding-resources.md)

### Technology
- [Overview][fabric-overview]
- [The Fabric Protocol][fabric-protocol]

### Documentation
- [Overview](docs/index.md)
- [Resources](docs/resources.md)
- [Components](source/snippets/components.md)
- [Datastores](docs/datastores.md)
- [Plugins](docs/plugins.md)
- [Services](docs/services.md)

### Community
* [Introduction](source/snippets/introduction.md)
- [Community Guidelines][community-guidelines]
- [Outstanding Community Tasks][outstanding-tasks]

[chat]: https://chat.maki.io/
[slack]: https://www.youtube.com/watch?v=W8_tGC8pNvI
[slack-apps]: https://slack.com/downloads
[why-are-we-here]: source/snippets/why-are-we-here.md
[maki-vs-fabric]: https://maki-dev.slack.com/files/chrisinajar/F16EBB88K/Elevator_Speach
[fabric-overview]: source/snippets/fabric-overview.md
[fabric-protocol]: https://maki-dev.slack.com/files/martindale/F170LP2HL/fabric_protocol_specification.md
[community-guidelines]: https://maki-dev.slack.com/files/martindale/F1565BS5P/Community_Guidelines.md
[outstanding-tasks]: https://maki-dev.slack.com/files/martindale/F1ARP5JKV/Outstanding_Community_Tasks
[maki-remote]: https://github.com/martindale/maki-remote
[maki-auth-flex]: https://github.com/martindale/maki-auth-flex
[waffle]: https://waffle.io/martindale/maki
[snarl]: https://github.com/martindale/snarl

[#product]: https://maki.io/topics/product
[#community]: https://maki.io/topics/community
[#projects]: https://maki.io/topics/projects
[#meta]: https://maki.io/topics/meta
[#hacking]: https://maki.io/topics/hacking
[#development]: https://maki.io/topics/development
[#meetups]: https://maki.io/topics/meetups
[#beer]: https://maki.io/topics/beer
10 changes: 10 additions & 0 deletions book.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"theme": "dark",
"plugins": ["exercises", "edit-link", "page-toc"],
"pluginsConfig": {
"edit-link": {
"base": "https://github.com/martindale/maki/edit/community",
"label": "Edit This Page"
}
}
}
17 changes: 17 additions & 0 deletions components/404.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
dom-module#maki-undefined
template
.ui.text.container
h1 Nothing known.
p We're sorry, but we don't know anything about that. Here are some alternative resources you might be interested in.

.ui.horizontal.segments
.ui.segment
p One
.ui.segment
p Two
.ui.segment
p Two
script.
Polymer({
is: 'maki-undefined'
});
18 changes: 18 additions & 0 deletions components/analytics.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
dom-module#maki-analytics
script.
Polymer({
is: 'maki-analytics',
properties: {
config: { type: Object }
},
ready: function() {
console.log('[MAKI:ANALYTICS]', 'ready');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', '#{config.analytics.id}', 'auto');
ga('send', 'pageview');
}
})
86 changes: 86 additions & 0 deletions components/api-index.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
dom-module#maki-api-index
template
.ui.vertical.stripe.segment.content
h3 Generally
p <strong>Formatting:</strong> All endpoints serve both JSON and HTML, controlled by the <code>Accept</code> header of your request. You can force the formatting of any resource using the <code>format</code> parameter: i.e., append <code>?format=json</code> to any URL to retrieve the underlying resource as JSON.
p <strong>Events:</strong> Any endpoint can be connected to with a WebSocket, and updates to that resource will be served to you as messages. These messages will be formatted as JSON-PATCH arrays, wrapped in JSON-RPC with the method name <code>patch</code>. The <code>channel</code> parameter will correspond to the resource's route. For more information, see <a href="https://github.com/martindale/maki#pubsub">the Maki documentation on PubSub &amp; Messaging</a>.
p All endpoints can also be interacted with via the following HTTP verbs:
pre
code.
query, get: GET
create: POST, PUT
update: PATCH
delete: DELETE

- var methodMap = { query: 'GET', get: 'GET', create: 'POST', update: 'PATCH', destroy: 'DELETE' }

.ui.stackable.grid
.four.wide.column
.overlay
.ui.labeled.vertical.menu
for resource in resources
a.item(href="/api##{resource.plural.toLowerCase()}")
if (resource.options.icon)
i.icon(class="#{resource.options.icon}")
| #{resource.plural}
.twelve.wide.column
.ui.cards
for resource in resources
.ui.fluid.card
.content
.header
if (resource.options.icon)
i.icon(class="#{resource.options.icon}")
a(href="##{resource.plural.toLowerCase()}", name="#{resource.plural.toLowerCase()}") #{resource.plural}
.description #{resource.description}
.description
h4 Paths
table.ui.table
thead
tr
th Operation
th HTTP Method
th Route
tbody
for method in Object.keys(resource.routes)
tr
td #{method}
td #{methodMap[method]}
td #{resource.routes[method]}

h3 Attributes
table.ui.table
thead
tr
th Name
th Type
th Required?
th Allowed Values
th Default
th Min
th Max
th Validator
tbody
for name in Object.keys(resource.attributes)
- var attribute = resource.attributes[name]
tr
td #{name}
td #{(attribute.type && attribute.type.name) ? attribute.type.name : attribute.type}
td #{attribute.required}
td #{attribute.enum}
td #{attribute.default}
td #{attribute.min}
td #{attribute.max}
td #{attribute.validator}

script.
Polymer({
is: 'maki-api-index',
ready: function() {
$('.overlay').visibility({
type: 'fixed',
offset: 80
});
}
});

Loading