text:
package net.totoraj.webinventory.config;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.UnsupportedEncodingException;

import javax.annotation.Nonnull;

import net.totoraj.webinventory.Utility;
import net.totoraj.webinventory.WebInventory;

import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.YamlConfiguration;

public class WIMessages {

	private static WebInventory plugin;
	private static WIMessages instance;
	private static String fileName;
	private static File configFile;
	private static YamlConfiguration resources;

	// info_messages
	private String pluginEnabled;
	private String pluginDisabled;
	private String connectedDb;
	private String disconnectedDb;
	private String createdTable;
	private String tableIsReady;
	private String doNotHavePermission;
	private String signUp;
	private String reloadMessagesYaml;
	private String reconnect;
	private String closeAllInventory;
	private String inventoryEnabled;
	private String inventoryDisabled;

	// error_messages
	private String failedConncectDb;
	private String failedCreateTable;
	private String failedReadyTable;
	private String failedReconnect;
	private String notEnoughArguments;
	private String failedSignUp;
	private String notPlayer;
	private String notExist;
	private String couldNotOpenInventory;
	private String canNotUse;
	// other
	private String inventoryTitleText;

	private WIMessages () {
		// info_messages
		this.pluginEnabled = resources.getString("pluginEnabled");
		this.pluginDisabled = resources.getString("pluginDisabled");
		this.connectedDb = resources.getString("connectedDb");
		this.disconnectedDb = resources.getString("disconnectedDb");
		this.createdTable = resources.getString("createdTable");
		this.tableIsReady = resources.getString("tableIsReady");
		this.doNotHavePermission = resources.getString("doNotHavePermission");
		this.signUp = resources.getString("signUp");
		this.reloadMessagesYaml = resources.getString("reloadMessagesYaml");
		this.reconnect = resources.getString("reconnect");
		this.closeAllInventory = resources.getString("closeAllInventory");
		this.inventoryEnabled = resources.getString("inventoryEnabled");
		this.inventoryDisabled = resources.getString("inventoryDisabled");
		// error_messages
		this.failedConncectDb = resources.getString("failedConnectDb");
		this.failedCreateTable = resources.getString("failedCreateTable");
		this.failedReadyTable = resources.getString("failedReadyTable");
		this.failedReconnect = resources.getString("failedReconnect");
		this.notEnoughArguments = resources.getString("notEnoughArguments");
		this.failedSignUp = resources.getString("failedSignUp");
		this.notPlayer = resources.getString("notPlayer");
		this.notExist = resources.getString("notExist");
		this.couldNotOpenInventory = resources.getString("couldNotOpenInventory");
		this.canNotUse = resources.getString("canNotUse");
		// other
		this.inventoryTitleText = resources.getString("inventoryTitleText");

		// info_messages
		this.pluginEnabled = Utility.replaceColorCode(this.pluginEnabled);
		this.pluginDisabled = Utility.replaceColorCode(this.pluginDisabled);
		this.connectedDb = Utility.replaceColorCode(this.connectedDb);
		this.createdTable = Utility.replaceColorCode(this.disconnectedDb);
		this.createdTable = Utility.replaceColorCode(this.createdTable);
		this.tableIsReady = Utility.replaceColorCode(this.tableIsReady);
		this.doNotHavePermission = Utility.replaceColorCode(this.doNotHavePermission);
		this.signUp = Utility.replaceColorCode(this.signUp);
		this.reloadMessagesYaml = Utility.replaceColorCode(this.reloadMessagesYaml);
		this.reconnect = Utility.replaceColorCode(this.reconnect);
		this.closeAllInventory = Utility.replaceColorCode(this.closeAllInventory);
		this.inventoryEnabled = Utility.replaceColorCode(this.inventoryEnabled);
		this.inventoryDisabled = Utility.replaceColorCode(this.inventoryDisabled);
		// error_messages
		this.failedConncectDb = Utility.replaceColorCode(this.failedConncectDb);
		this.failedCreateTable = Utility.replaceColorCode(this.failedCreateTable);
		this.failedReadyTable = Utility.replaceColorCode(this.failedReadyTable);
		this.failedReconnect = Utility.replaceColorCode(this.failedReconnect);
		this.notEnoughArguments = Utility.replaceColorCode(this.notEnoughArguments);
		this.failedSignUp = Utility.replaceColorCode(this.failedSignUp);
		this.notPlayer = Utility.replaceColorCode(this.notPlayer);
		this.notExist = Utility.replaceColorCode(this.notExist);
		this.couldNotOpenInventory = Utility.replaceColorCode(this.couldNotOpenInventory);
		this.canNotUse = Utility.replaceColorCode(this.canNotUse);
		// other
		this.inventoryTitleText = Utility.replaceColorCode(this.inventoryTitleText);
	}

	// 初期化
	public static void initialize (WebInventory _plugin, String _fileName) {
		plugin = _plugin;
		fileName = _fileName;
		configFile = new File(plugin.getDataFolder(), fileName);
		saveDefaultYamlPlus(fileName, configFile, true);

		resources = loadUTF8YamlFile(configFile);

		instance = new WIMessages();
	}

	// リロード
	public static void reload () {
		initialize(plugin, fileName);
	}

	// UTF-8エンコードのYamlファイルをロードする
	private static YamlConfiguration loadUTF8YamlFile(File file) {
		YamlConfiguration config = new YamlConfiguration();
		try (Reader reader = new InputStreamReader(new FileInputStream(file), "UTF-8")) {
			config.load(reader);
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (InvalidConfigurationException e) {
			e.printStackTrace();
		}
		return config;
	}

	// jarファイルからymlをコピーする
	public static void saveDefaultYamlPlus (@Nonnull String resourcePath, @Nonnull File outFile, boolean forceUTF8) {
		if (outFile.exists()) {
			return;
		}
		BufferedReader reader = null;
		BufferedWriter writer = null;
		InputStream is = null;
		FileOutputStream fos = null;
		try {
			is = plugin.getResource(resourcePath);
			if (is == null) {
				return;
			}
			reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
			fos = new FileOutputStream(outFile);
			if (forceUTF8) {
				writer = new BufferedWriter(new OutputStreamWriter(fos, "UTF-8"));
			} else {
				writer = new BufferedWriter(new OutputStreamWriter(fos));
			}

			String line;
			while ((line = reader.readLine()) != null) {
				writer.write(line);
				writer.newLine();
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (writer != null) {
				try {
					writer.flush();
					writer.close();
				} catch (IOException e) {

				}
			}
			if (reader != null) {
				try {
					reader.close();
				} catch (IOException e) {

				}
			}
			if (fos != null) {
				try {
					fos.flush();
					fos.close();
				} catch (IOException e) {

				}
			}
		}
	}

	public static WIMessages getInstance() {
		return instance;
	}

	public static String getPluginEnabled() {
		return instance.pluginEnabled;
	}

	public static String getPluginDisabled() {
		return instance.pluginDisabled;
	}

	public static String getConnectedDb() {
		return instance.connectedDb;
	}

	public static String getDisconnectedDb() {
		return instance.disconnectedDb;
	}

	public static String getCreatedTable() {
		return instance.createdTable;
	}

	public static String getTableIsReady() {
		return instance.tableIsReady;
	}

	public static String getDoNotHavePermission() {
		return instance.doNotHavePermission;
	}

	public static String getFailedConncectDb() {
		return instance.failedConncectDb;
	}

	public static String getFailedCreateTable() {
		return instance.failedCreateTable;
	}

	public static String getFailedReadyTable() {
		return instance.failedReadyTable;
	}

	public static String getFailedSignUp() {
		return instance.failedSignUp;
	}

	public static String getInventoryTitleText() {
		return instance.inventoryTitleText;
	}

	public static String getSignUp() {
		return instance.signUp;
	}

	public static String getReloadMessagesYaml() {
		return instance.reloadMessagesYaml;
	}

	public static String getNotEnoughArguments() {
		return instance.notEnoughArguments;
	}

	public static String getNotPlayer() {
		return instance.notPlayer;
	}

	public static String getNotExist() {
		return instance.notExist;
	}

	public static String getCouldNotOpenInventory() {
		return instance.couldNotOpenInventory;
	}

	public static String getCloseAllInventory() {
		return instance.closeAllInventory;
	}

	public static String getCanNotUse() {
		return instance.canNotUse;
	}

	public static String getInventoryEnabled() {
		return instance.inventoryEnabled;
	}

	public static String getInventoryDisabled() {
		return instance.inventoryDisabled;
	}

	public static String getReconnect() {
		return instance.reconnect;
	}

	public static String getFailedReconnect() {
		return instance.failedReconnect;
	}

}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotVVM.Framework.ViewModel;

namespace Netfox.Web.App.ViewModels
{
    public abstract class MasterpageViewModel : BaseLayoutViewModel
    {
        public abstract string ColumnName { get; }

        public abstract bool ShowToolbar { get; }

        public abstract string ColumnCSSClass { get; }

    }
}

redpajama_set_name: RedPajamaGithub


text:
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TupleSections #-}

-- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html

module Stratosphere.ResourceProperties.CodeBuildProjectEnvironmentVariable where

import Stratosphere.ResourceImports

-- | Full data type definition for CodeBuildProjectEnvironmentVariable. See
-- 'codeBuildProjectEnvironmentVariable' for a more convenient constructor.
data CodeBuildProjectEnvironmentVariable =
  CodeBuildProjectEnvironmentVariable
  { _codeBuildProjectEnvironmentVariableName :: Val Text
  , _codeBuildProjectEnvironmentVariableType :: Maybe (Val Text)
  , _codeBuildProjectEnvironmentVariableValue :: Val Text
  } deriving (Show, Eq)

instance ToJSON CodeBuildProjectEnvironmentVariable where
  toJSON CodeBuildProjectEnvironmentVariable{..} =
    object $
    catMaybes
    [ (Just . ("Name",) . toJSON) _codeBuildProjectEnvironmentVariableName
    , fmap (("Type",) . toJSON) _codeBuildProjectEnvironmentVariableType
    , (Just . ("Value",) . toJSON) _codeBuildProjectEnvironmentVariableValue
    ]

-- | Constructor for 'CodeBuildProjectEnvironmentVariable' containing required
-- fields as arguments.
codeBuildProjectEnvironmentVariable
  :: Val Text -- ^ 'cbpevName'
  -> Val Text -- ^ 'cbpevValue'
  -> CodeBuildProjectEnvironmentVariable
codeBuildProjectEnvironmentVariable namearg valuearg =
  CodeBuildProjectEnvironmentVariable
  { _codeBuildProjectEnvironmentVariableName = namearg
  , _codeBuildProjectEnvironmentVariableType = Nothing
  , _codeBuildProjectEnvironmentVariableValue = valuearg
  }

-- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-name
cbpevName :: Lens' CodeBuildProjectEnvironmentVariable (Val Text)
cbpevName = lens _codeBuildProjectEnvironmentVariableName (\s a -> s { _codeBuildProjectEnvironmentVariableName = a })

-- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-type
cbpevType :: Lens' CodeBuildProjectEnvironmentVariable (Maybe (Val Text))
cbpevType = lens _codeBuildProjectEnvironmentVariableType (\s a -> s { _codeBuildProjectEnvironmentVariableType = a })

-- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-value
cbpevValue :: Lens' CodeBuildProjectEnvironmentVariable (Val Text)
cbpevValue = lens _codeBuildProjectEnvironmentVariableValue (\s a -> s { _codeBuildProjectEnvironmentVariableValue = a })


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2015 Falko Schumann
  ~ Released under the terms of the MIT License.
  -->

<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">

    <id>swe</id>

    <includeBaseDirectory>false</includeBaseDirectory>
    <formats>
        <format>zip</format>
    </formats>

    <dependencySets>
        <dependencySet>
            <outputDirectory>${project.artifactId}/lib/</outputDirectory>
            <scope>runtime</scope>
            <useProjectArtifact>false</useProjectArtifact>
            <excludes>
                <exclude>de.bsvrz.*:*</exclude>
            </excludes>
        </dependencySet>
        <dependencySet>
            <outputDirectory>${project.artifactId}/lib/</outputDirectory>
            <scope>test</scope>
            <useProjectArtifact>false</useProjectArtifact>
            <excludes>
                <exclude>de.bsvrz.*:*</exclude>
            </excludes>
        </dependencySet>
    </dependencySets>

    <files>

        <!-- Runtime Scope -->
        <file>
            <source>${project.basedir}/README.md</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>LIESMICH.txt</destName>
        </file>
        <file>
            <source>${project.basedir}/LICENSE.txt</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-MIT-Lizenz.txt</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}.jar</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}-runtime.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-runtime.jar</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}-javadoc.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-doc-api.zip</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}-sources.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-src.zip</destName>
        </file>

        <!-- Test Scope -->
        <file>
            <source>${project.build.directory}/${project.build.finalName}-tests.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-test.jar</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}-test-javadoc.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-test-doc-api.zip</destName>
        </file>
        <file>
            <source>${project.build.directory}/${project.build.finalName}-test-sources.jar</source>
            <outputDirectory>${project.artifactId}/</outputDirectory>
            <destName>${project.artifactId}-test-src.zip</destName>
        </file>

    </files>

    <fileSets>
        <fileSet>
            <directory>${project.build.directory}/site</directory>
            <outputDirectory>${project.artifactId}/docs</outputDirectory>
        </fileSet>
    </fileSets>

</assembly>


text:
This is a SWI-Prolog pack that runs LM489

- LOGICMOO IRC channel #logicmoo on [freenode.net](irc://irc.freenode.net:+6697/logicmoo).
- LOGICMOO Telegram at [https://t.me/LogicMoo](https://t.me/LogicMoo)

# Installation

Using SWI-Prolog 7.1 or later:

    ?- pack_install('https://github.com/logicmoo/logicmoo_agi.git').

Source code available and pull requests accepted at
https://logicmoo.org/gitlab/logicmoo/logicmoo_workspace/-/tree/master/packs_sys/logicmoo_agi

```prolog
?- use_module(library(logicmoo_agi)).
true.

```

# Some TODOs

Document this pack!

Write tests

Untangle the 'pack' install deps
(Moving predicates over here from logicmoo_base)

# Not _obligated_ to maintain a git fork just to contribute

Dislike having tons of forks that are several commits behind the main git repo?

Be old school - Please ask to be added to logicmoo and Contribute directly !

Still, we wont stop you from doing it the Fork+PullRequest method

[BSD 2-Clause License](LICENSE)

Copyright (c) 2020,
logicmoo and Douglas Miles <logicmoo@gmail.com>
All rights reserved.


text:
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (c) 2016. Eli Connelly
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~    you may not use this file except in compliance with the License.
  ~    You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~    Unless required by applicable law or agreed to in writing, software
  ~    distributed under the License is distributed on an "AS IS" BASIS,
  ~    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~    See the License for the specific language governing permissions and
  ~    limitations under the License.
  -->

<resources>

    <string name="app_name">Mimi</string>
    <string name="app_title">Mimi</string>
    <string name="title_postitem_detail">PostItem Detail</string>

    <string name="custom_scroll_behavior">com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior</string>

    <!-- 4chan API links -->
<!--    <string name="sys_link">sys.4chan.org</string>-->
<!--    <string name="api_link">a.4cdn.org</string>-->
<!--    <string name="thumb_link">i.4cdn.org</string>-->
<!--    <string name="image_link">i.4cdn.org</string>-->
<!--    <string name="board_link">boards.4chan.org</string>-->
<!--    <string name="board_list_link">a.4cdn.org/boards.json</string>-->
<!--    <string name="icon_link">s.4cdn.org</string>-->

<!--    <string name="board_path">/%s/</string>-->
<!--    <string name="first_post_path">/%s/</string>-->
<!--    <string name="api_thread_path">/%1$s/thread/%2$d.json</string>-->
<!--    <string name="raw_thread_path">/%1$s/thread/%2$d</string>-->
<!--    <string name="catalog_path">/%s/catalog.json</string>-->
<!--    <string name="api_thread_list_path">/%1$s/%2$s.json</string>-->
<!--    <string name="raw_thread_list_path">/%1$s/%2$s</string>-->
<!--    <string name="report_path">/%1$s/imgboard.php?mode=report&no=%2$d</string>-->

<!--    <!– /{board}/thumb/{tim}s{ext} –>-->
<!--    <string name="thumb_path">/%1$s/%2$ss.jpg</string>-->
<!--    <string name="spoiler_path">/image/spoiler.png</string>-->
<!--    <string name="custom_spoiler_path">/image/spoiler-%1$s%2$d.png</string>-->

<!--    <!– /{board}/src/{tim}{ext} –>-->
<!--    <string name="full_image_path">/%1$s/%2$s%3$s</string>-->

    <!-- Colors -->
    <string name="red">Red</string>
    <string name="green">Green</string>
    <string name="blue">Blue</string>
    <string name="indigo">Indigo</string>
    <string name="pink">Pink</string>
    <string name="purple">Purple</string>
    <string name="orange">Orange</string>
    <string name="deep_orange">Deep Orange</string>
    <string name="brown">Brown</string>
    <string name="blue_grey">Blue Grey</string>
    <string name="light_grey">Light Grey</string>
    <string name="grey">Grey</string>
    <string name="dark_grey">Dark Grey</string>
    <string name="black">Black</string>

    <!-- Drawer Strings -->
    <string name="home">Home</string>
    <string name="favorites">Favorites</string>
    <string name="watched_threads">Watched Threads</string>
    <string name="edit_boards">Edit Boards</string>
    <string name="boards">Boards</string>
    <string name="settings">Settings</string>
    <string name="chanpass_login">Chanpass Login</string>
    <string name="chanpass_logout">Logout</string>
    <string name="manage_boards">Manage Boards</string>
    <string name="drawer_title">Mimi</string>
    <string name="bookmarks_tab">Bookmarks</string>
    <string name="history_tab">History</string>
    <string name="no_history_message">No history found</string>
    <string name="no_bookmarks_message">No bookmarks found</string>
    <string name="no_bookmarks">No Bookmarks</string>
    <string name="clear_all">Clear All</string>
    <string name="exit">Exit</string>
    <string name="are_you_sure">Are you sure you want to sign out from 4chan pass?</string>

    <!-- Menu Strings -->
    <string name="gallery_menu_item">Gallery</string>
    <string name="report_menu_item">Report</string>
    <string name="reply_menu_item">Reply</string>
    <string name="quote_menu_item">Quote</string>
    <string name="claim_menu_item">Claim Post</string>
    <string name="unclaim_menu_item">Unclaim Post</string>
    <string name="watch_thread_menu_item">Watch Thread</string>
    <string name="search">Search</string>
    <string name="share">Share</string>
    <string name="close_tab">Close Tab</string>
    <string name="bookmark">Bookmark</string>
    <string name="bookmarks">Bookmarks</string>
    <string name="save">Save</string>
    <string name="refresh">Refresh</string>
    <string name="appwidget_text">EXAMPLE</string>
    <string name="configure">Configure</string>
    <string name="add_widget">Add widget</string>
    <string name="copy_text">Copy Text</string>
    <string name="add_board">Add Board</string>
    <string name="hello_blank_fragment">Hello blank fragment</string>
    <string name="text_copied_to_clipboard">Text copied to clipboard</string>
    <string name="link_copied_to_clipboard">Link copied to clipboard</string>
    <string name="download">Download</string>
    <string name="all">All</string>
    <string name="none">None</string>
    <string name="invert">Invert</string>
    <string name="open_link_menu_item">Open Link</string>
    <string name="copy_link_menu_item">Copy Link</string>

    <!-- Settings -->
    <string name="theme_title">Theme</string>
    <string name="theme_summary">Select the dark or light theme</string>
    <string name="toolbar_color">Toolbar Color</string>
    <string name="toolbar_color_summary">Select toolbar color</string>
    <string name="layout_type">Layout Type</string>
    <string name="layout_type_summary">Select the layout type</string>
    <string name="board_order_title">Board Order</string>
    <string name="sort_by">Sort By</string>
    <string name="board_order_summary">How the boards are ordered</string>
    <string name="use_catalog_title">Use Catalog</string>
    <string name="use_fast_scroll">Use fast scroll</string>
    <string name="use_fast_scroll_summary">Quickly scroll to the bottom or top of a thread</string>
    <string name="user_catalog_summary_off">Individual pages</string>
    <string name="user_catalog_summary_on">Use the catalog</string>
    <string name="advanced_title">Advanced</string>
    <string name="advanced_summary">Extended Preferences</string>
    <string name="external_cache_title">External Cache</string>
    <string name="external_cache_summary_on">Cache saved on external storage</string>
    <string name="external_cache_summary_off">Cache saved on internal storage</string>
    <string name="prevent_screen_from_rotating">Prevent screen from rotating</string>
    <string name="prevent_screen_from_rotating_summary_on">Screen locked to portrait</string>
    <string name="prevent_screen_from_rotating_summary_off">Screen rotation unlocked</string>
    <string name="clear_cache_title">Clear Cache</string>
    <string name="clear_cache_summary">Clear the app cache</string>
    <string name="save_history_title">Save History</string>
    <string name="save_history_summary_off">History is not saved</string>
    <string name="save_history_summary_on">History is saved</string>
    <string name="auto_refresh_interval_title">Auto Refresh Interval</string>
    <string name="background_refresh_interval_title">Background Refresh Interval</string>
    <string name="notifications_title">Notifications</string>
    <string name="clear_history_title">Clear History</string>
    <string name="history_prune_time_title">Prune History</string>
    <string name="history_prune_time_summary">Every %s</string>
    <string name="more_info_about">About</string>
    <string name="more_info_website">MimiReader.com</string>
    <string name="more_info_privacy">Privacy Policy</string>
    <string name="more_info_licences">Licences</string>
    <string name="more_info_changelog">ChangeLog</string>
    <string name="more_info_version">Version</string>
    <string name="all_boards_visible">Show All Boards</string>
    <string name="image_file_location">Save Location</string>
    <string name="use_original_filename_title">Use Original Filename</string>
    <string name="use_original_filename_summary">Save files using the original filename</string>
    <string name="image_file_location_summary">Image save location</string>
    <string name="remember_thread_position_title">Remember thread position</string>
    <string name="remember_thread_position_summary">Pick up a thread where you left off</string>
    <string name="scroll_thread_with_gallery_title">Scroll thread with gallery</string>
    <string name="scroll_thread_with_gallery_summary">Swiping in the gallery scrolls the thread</string>
    <string name="close_gallery_on_click_title">Tap image to close gallery</string>

    <string name="disabled">Disabled</string>

    <string name="appearance_title">Appearance</string>
    <string name="appearance_summary">App appearance</string>
    <string name="general_title">General</string>
    <string name="general_summary">General Preferences</string>
    <string name="gallery_summary">Preferences for the gallery</string>
    <string name="history_title">History</string>
    <string name="history_summary">How and when history is saved</string>
    <string name="more_info_title">More Info</string>
    <string name="more_info_summary">Some more information about Mimi</string>
    <string name="posting_title">Posting</string>
    <string name="posting_summary">Posting Preferences</string>
    <string name="board_title">Board</string>
    <string name="board_summary">Board Preferences</string>
    <string name="debug_title">Debug</string>
    <string name="remove_ads_title">Remove Ads</string>
    <string name="enable_ads_title">Enable Ads</string>

    <string name="auto_refresh_disabled">Disabled</string>
    <string name="auto_refresh_5_seconds">5 Seconds</string>
    <string name="auto_refresh_10_seconds">10 Seconds</string>
    <string name="auto_refresh_20_seconds">20 Seconds</string>
    <string name="auto_refresh_30_seconds">30 Seconds</string>
    <string name="auto_refresh_60_seconds">60 Seconds</string>
    <string name="auto_refresh_2_minutes">2 Minutes</string>
    <string name="auto_refresh_5_minutes">5 Minutes</string>

    <string name="background_auto_refresh_disabled">Disabled</string>
    <string name="background_auto_refresh_1_minute">1 Minute</string>
    <string name="background_auto_refresh_2_minutes">2 Minutes</string>
    <string name="background_auto_refresh_5_minutes">5 Minutes</string>
    <string name="background_auto_refresh_10_minutes">10 Minutes</string>
    <string name="background_auto_refresh_30_minutes">30 Minutes</string>
    <string name="background_auto_refresh_60_minutes">60 Minutes</string>
    <string name="background_auto_refresh_90_minutes">90 Minutes</string>

    <string name="history_prune_time_start">App Start</string>
    <string name="history_prune_time_1_day">1 Day</string>
    <string name="history_prune_time_2_days">2 Days</string>
    <string name="history_prune_time_3_days">3 Days</string>

    <string name="http_buffer_size_title">Http Buffer Size</string>
    <string name="http_buffer_size_summary">Adjust the buffer size of each HTTP request</string>

    <string-array name="http_buffer_sizes">
        <item name="http_buffer_size_off">Default</item>
        <item name="http_buffer_size_512">512 Bytes</item>
        <item name="http_buffer_size_1k">1 KB</item>
        <item name="http_buffer_size_2k">2 KB</item>
        <item name="http_buffer_size_4k">4 KB</item>
    </string-array>

    <!-- Board Order Names -->
    <string name="board_order_none">None</string>
    <string name="board_order_board_title">Board Title</string>
    <string name="board_order_board_name">Board Name</string>
    <string name="board_order_access_count">Access Count</string>
    <string name="board_order_post_count">Post Count</string>
    <string name="board_order_last_access">Last Access</string>
    <string name="board_order_favorites">Favorites</string>
    <string name="board_order_custom">Custom</string>

    <string name="error_opening_url">Could not find browser to open URL</string>

    <!-- Catalog Header -->
    <string name="board_list_type">Board View Type</string>
    <string name="board_type_grid">Catalog</string>
    <string name="board_type_list">List</string>

    <!-- Reply Form -->
    <string name="post">Post</string>
    <string name="comment">comment</string>
    <string name="name">Name</string>
    <string name="options">Options</string>
    <string name="subject">Subject</string>
    <string name="captcha">captcha</string>
    <string name="send">Send</string>
    <string name="sending">Sending...</string>
    <string name="cancel">Cancel</string>
    <string name="success">Success!</string>
    <string name="just_now">Just now</string>
    <string name="error_fetching_captcha_image">Error fetching captcha image</string>

    <!-- User Info Form -->
    <string name="clear_info">Clear</string>
    <string name="sage_info">Sage</string>
    <string name="done_info">Done</string>

    <string name="reply_to">Reply to %s</string>

    <!-- Error Strings -->
    <string name="error_404">404 Not Found!</string>
    <string name="generic_board_load_error">Error loading board. Please refresh.</string>
    <string name="could_not_find_post">Error loading post. Sending error report.</string>

    <!-- File saving messages -->
    <string name="file_saved">File saved</string>
    <string name="failed_to_save_file">Failed to save file</string>

    <!-- Gallery Strings -->
    <string name="gallery">Gallery</string>
    <string name="error_loading_image">Error loading image</string>

    <!-- 4chan pass Login Activity -->
    <string name="token_hint">token</string>
    <string name="pin_hint">pin</string>
    <string name="login_button">Login</string>
    <string name="login_success">Signed in</string>
    <string name="login_error">Error signing in</string>
    <string name="auth_failure">Incorrect Token or PIN</string>
    <string name="auth_success">Success! Logged in</string>
    <string name="token_length_error">Your Token must be exactly 10 characters</string>

    <!-- Share Menu -->
    <string name="no_app_to_share">No app installed to share data of type %s!</string>
    <string name="no_share_type">No share type specified!</string>
    <string name="error_occurred">Sorry, an error occurred.</string>

    <!-- Download Service -->
    <string name="content_title">Mimi Downloader</string>
    <string name="download_ticker">Starting Download…</string>

    <!-- Video -->
    <string name="could_not_play_video">Could not play video</string>

    <!-- Font Awesome Icons -->
    <string name="font_path">fonts/Material-Design-Iconic-Font.ttf</string>

    <!-- Font size -->
    <string name="font_small">Small</string>
    <string name="font_medium">Medium</string>
    <string name="font_large">Large</string>

    <string name="ic_post">\uf106</string>
    <string name="ic_favorite_set">\uf2E5</string>
    <string name="ic_favorite_unset">\uf2E7</string>
    <string name="ic_bookmark_set">\uf019</string>
    <string name="ic_bookmark_unset">\uf01A</string>
    <string name="ic_refresh">\uf016</string>
    <string name="ic_goto">\uf29C</string>
    <string name="ic_add">+</string>
    <string name="ic_close">\uf29A</string>
    <string name="ic_check">\uf299</string>
    <string name="ic_chat">\uf0EC</string>
    <string name="ic_content_hidden">\uf29C</string>
    <string name="ic_content_shown">\uf29E</string>
    <string name="ic_home">\uf036</string>
    <string name="ic_history">\uf05E</string>
    <string name="ic_bookmarks">\uf044</string>
    <string name="ic_menu">\uf1BA</string>
    <string name="ic_lock">\uf037</string>
    <string name="ic_chat_bubble">\uf2BE</string>
    <string name="ic_images">\uf241</string>
    <string name="ic_reply">\uf114</string>
    <string name="ic_drag_handle">\uf094</string>
    <string name="ic_settings">\uf060</string>
    <string name="ic_dash">\uf111</string>
    <string name="ic_send">\uf119</string>

    <!-- Only used for the unique key -->
    <string name="thread_id_key">Thread ID</string>
    <string name="replies_key">Replies</string>

    <string name="add">Add</string>
    <string name="error_adding_board">Error adding board specified</string>
    <string name="board_name_input_hint">Example: /g/</string>

    <string name="yes">Yes</string>
    <string name="no">No</string>

    <string name="unknown_error">Something went wrong!</string>
    <string name="attach_image">Attach Image</string>
    <string name="image_info">Image Info</string>
    <string name="ok">OK</string>

    <string name="percent_complete">%d%% complete</string>
    <string name="download_complete_success">Download Complete</string>
    <string name="download_complete_error">Error downloading</string>
    <string name="batch_download">Batch Download</string>
    <string name="long_press_to_batch_download">Long press a thumbnail to start batch download mode</string>
    <string name="long_press_to_manage_boards">Long press an item on the list to manage the boards</string>
    <string name="dont_show_again">Do not show this again</string>
    <string name="feedback">Feedback</string>

    <!-- Rating -->
    <string name="please_rate">Please take a moment to rate Mimi!</string>
    <string name="never">Never</string>
    <string name="rate">Rate</string>
    <string name="later">Later</string>

    <!-- Image Info -->
    <string name="file_name">File Name:</string>
    <string name="dimensions">Dimensions:</string>

    <!-- Image Search -->
    <string name="google_image_search_link">https://www.google.com/searchbyimage?hl=en&site=imghp&image_url=%1$s</string>
    <string name="iqdb_image_search_link">http://iqdb.org/?url=%1$s</string>
    <string name="saucenao_image_search_link">https://saucenao.com/search.php?db=999&bgcolor=none&url=%1$s</string>
    <string name="yandex_image_search_link">https://yandex.com/images/search?rpt=imageview&url=%1$s</string>
    <string name="youtube_generic_error">Error opening YouTube link</string>

    <plurals name="replies_plural">
        <item quantity="zero">no replies</item>
        <item quantity="one">1 reply</item>
        <item quantity="other">%d replies</item>
    </plurals>

    <string name="one_reply">1 Reply</string>
    <string name="one_image">1 Image</string>
    <string name="number_replies">%d Replies</string>
    <string name="number_images">%d Images</string>

    <plurals name="image_plural">
        <item quantity="zero">no images</item>
        <item quantity="one">1 image</item>
        <item quantity="other">%d images</item>
    </plurals>

    <plurals name="unread_plural">
        <item quantity="zero">no unread posts</item>
        <item quantity="one">1 unread post</item>
        <item quantity="other">%d unread posts</item>
    </plurals>

    <plurals name="new_post_plural">
        <item quantity="zero">no new posts</item>
        <item quantity="one">1 new post</item>
        <item quantity="other">%d new posts</item>
    </plurals>

    <plurals name="has_unread_plural">
        <item quantity="zero"> has no unread posts</item>
        <item quantity="one"> has 1 unread post</item>
        <item quantity="other"> has %d unread posts</item>
    </plurals>

    <plurals name="threads_updated_plural">
        <item quantity="zero">no threads updated</item>
        <item quantity="one">1 thread updated</item>
        <item quantity="other">%d threads updated</item>
    </plurals>
    <plurals name="replies_to_you_plurals">
        <item quantity="zero">no replies to you</item>
        <item quantity="one">1 reply to you</item>
        <item quantity="other">%d replies to you</item>
    </plurals>

    <!-- Native Ads -->
    <string name="sponsored">Sponsored</string>
    <string name="loading_captcha">Loading captcha...</string>
    <string name="copy_file">Copy File</string>
    <string name="file_name_is_taken">File name is taken</string>
    <string name="overwrite">Overwrite</string>
    <string name="rename">Rename</string>
    <string name="only_replies">Only replies to me</string>
    <string name="all_new_posts">All new posts</string>
    <string name="new_posts">New Posts</string>
    <string name="open">Open</string>
    <string name="error_opening_replies">Error opening replies</string>
    <string name="select_picture">Select Picture</string>
    <string name="replies">Replies</string>
    <string name="font_size">Font Size</string>
    <string name="you_have_unread_posts_exclamation">You have unread posts!</string>
    <string name="closing_tab">CLOSING TAB</string>

    <!-- Layout Types -->
    <string name="layout_browser">Browser</string>
    <string name="layout_tabbed">Tabbed</string>
    <string name="layout_sliding_panel">Sliding Panel</string>
    <string name="ads_disabled_for">Ads Disabled For %s</string>
    <string name="video_failed_to_load">Video failed to load</string>
    <string name="video_playback_did_not_complete">Video did no complete</string>
    <string name="loading_video_please_wait">Loading video, please wait</string>
    <string name="watch_video">Watch Video (30 mins ad free)</string>
    <string name="buy_ad_free_version">Buy Ad Free Version</string>
    <string name="save_file_permission_denied">Permission to save file was denied</string>
    <string name="app_needs_your_permission_to_save">Save permission required</string>
    <string name="app_needs_your_permission_to_attach">The app needs your permission to attach pictures</string>

    <string name="error_opening_bookmark">Error opening bookmark</string>
    <string name="error_loading_board">Error loading board</string>
    <string name="link">Link</string>
    <string name="image">Image</string>
    <string name="country">Country</string>
    <string name="youtube_link">YouTube Link</string>
    <string name="no_images_selected">No images selected</string>

    <string name="set_default">Default</string>
    <string name="set_default_color">Set default color</string>
    <string name="default_colors">Default colors</string>
    <string name="material_colors">Material colors</string>
    <string name="apply">Apply</string>
    <string name="update">Update</string>
    <string name="text_colors">Text colors</string>
    <string name="text_colors_summary">Set colors for reply, quote, and link text</string>

    <string name="nav_drawer_bookmark_count">Nav Drawer Bookmark Count</string>
    <string name="close_other_tabs">Close Other Tabs</string>
    <string name="grid">Grid</string>
    <string name="list">List</string>
    <string name="close_all_tabs">Close All Tabs</string>
    <string name="ask_before_closing_tabs">Ask before closing all tabs</string>
    <string name="close_all_tabs_question">Close all tabs?</string>
    <string name="close_tab_on_back_title">Close tab on back pressed</string>
    <string name="close_tab_on_back_summary_on">Back button closes the current tab</string>
    <string name="close_tab_on_back_summary_off">Back button changes the current tab</string>
    <string name="enable_image_spoilers_title">Enable image spoilers</string>
    <string name="sort">Sort</string>
    <string name="bump_time">Bump Time</string>
    <string name="thread_id">Thread ID</string>
    <string name="image_count">Image Count</string>
    <string name="reply_count">Reply Count</string>
    <string name="history">History</string>
    <string name="invert_sort">Invert Sort</string>
    <string name="fullscreen">Fullscreen</string>
    <string name="auto_play_audio">Auto play webm audio</string>
    <string name="error_copying_file">Error copying file</string>
    <string name="use_old_video_player_title">Use old video player</string>
    <string name="hide">Hide</string>
    <string name="thread_hidden">Thread hidden</string>
    <string name="error_hiding_thread">Error hiding thread</string>
    <string name="clear_hidden_threads">Clear hidden threads</string>
    <string name="all_hidden_threads_cleared">Cleared all hidden threads</string>
    <string name="failed_to_clear_hidden_threads">Failed to clear hidden threads</string>
    <string name="quick_scroll_to_top">Scroll To Top</string>
    <string name="quick_scroll_to_bottom">Scroll To Bottom</string>
    <string name="text_to_filter">Text To Filter</string>
    <string name="empty_response_error">Something went wrong while posting. Please try again later.</string>
    <string name="error_deleting_name">Error deleting name from database</string>
    <string name="regex">Regex</string>
    <string name="remove">Remove</string>
    <string name="save_to_folder">Save To Folder</string>
    <string name="select_a_board">Select A Board</string>
    <string name="directory_name">Directory Name</string>
    <string name="new_filter">New</string>
    <string name="filter">Filter</string>
    <string name="filter_name">Filter Name</string>
    <string name="edit">Edit</string>
    <string name="filter_already_exists">Filter already exists</string>
    <string name="overwite_filter_question">Overwrite filter?</string>
    <string name="failed_to_save_filter">Failed to save filter</string>
    <string name="edit_filters">Edit Filters</string>
    <string name="error_loading_boards">Error loading boards</string>
    <string name="retry">Retry</string>
    <string name="error_while_sharing_file">Error while sharing file</string>
    <string name="error_opening_video_file">Error opening video file</string>
    <string name="find">Find</string>
    <string name="found_number">found %d</string>
    <string name="error_opening_search_link">Error opening search link</string>
    <string name="captcha_answer_hint">captcha text</string>
    <string name="spoiler">Spoiler</string>
    <string name="view">View</string>
    <string name="mark_as_read">Mark as Read</string>

    <string-array name="youtube_dialog_list">
        <item>Open in browser</item>
        <item>Copy link</item>
    </string-array>

    <string-array name="link_dialog_list">
        <item>Open in browser</item>
        <item>Share link</item>
        <item>Copy link</item>
    </string-array>

    <string-array name="color_types_list">
        <item>Quote</item>
        <item>Reply</item>
        <item>Highlight</item>
        <item>Link</item>
    </string-array>

    <string-array name="color_types_map">
        <item>@string/quote_color_pref</item>
        <item>@string/reply_color_pref</item>
        <item>@string/highlight_color_pref</item>
        <item>@string/link_color_pref</item>
    </string-array>

    <string-array name="flag_names">
        <item>Anarcho-Capitalist</item>
        <item>Anarchist</item>
        <item>Black Nationalist</item>
        <item>Confederate</item>
        <item>Communist</item>
        <item>Democrat</item>
        <item>European</item>
        <item>Fascist</item>
        <item>Gadsden</item>
        <item>Gay</item>
        <item>Jihadi</item>
        <item>Kekistani</item>
        <item>Muslim</item>
        <item>National Bolshevik</item>
        <item>Nazi</item>
        <item>Hippie</item>
        <item>Pirate</item>
        <item>Republican</item>
        <item>Templar</item>
        <item>Tree Hugger</item>
        <item>United Nations</item>
        <item>White Supremacist</item>
    </string-array>

    <string-array name="flag_values">
        <item>AC</item>
        <item>AN</item>
        <item>BL</item>
        <item>CF</item>
        <item>CM</item>
        <item>DM</item>
        <item>EU</item>
        <item>FC</item>
        <item>GN</item>
        <item>GY</item>
        <item>JH</item>
        <item>KN</item>
        <item>MF</item>
        <item>NB</item>
        <item>NZ</item>
        <item>PC</item>
        <item>PR</item>
        <item>RE</item>
        <item>TM</item>
        <item>TR</item>
        <item>UN</item>
        <item>WP</item>
    </string-array>
    <string name="title_activity_web">WebActivity</string>
    <string name="open_links_externally">Open Links Externally</string>
    <string name="open_links_default_browser">Open Links in Default Browser</string>
    <string name="open_links_internally">Open Links Internally</string>
    <string name="mimi_file_downloader">Mimi File Downloader</string>
    <string name="mimi_thread_watcher">Mimi Thread Watcher</string>
    <string name="could_not_set_orientation">Could not set orientation</string>

    <string name="this_video_has_no_audio">This video has no audio</string>
    <string name="requesting_permissions">Requesting Permissions</string>
    <string name="request">Request</string>
    <string name="save_permissions_message">The next screen will ask you to select a directory. Please select a default directory for files to be saved.</string>
    <string name="title_activity_gallery2">Gallery</string>

    <string name="loading">Loading…</string>

    <string name="gallery_preload_title">Media Preloading</string>
    <string name="gallery_preload_wifi_only">On WiFi Only</string>
    <string name="gallery_preload_enabled">Enabled</string>
    <string name="gallery_preload_disabled">Disabled</string>
    <string name="could_not_load_gif">Could not load GIF</string>
    <string name="batch_dowmload_no_items_selected">No selected items found for batch download</string>
    <string name="error_opening_gallery">Error opening gallery; Restart the app and try again</string>
    <string name="mimi_logo">Mimi Logo</string>
    <string name="archive_message">Thread archived at %s</string>
    <string name="title_activity_settings">SettingsActivity</string>

    <!-- Preference Titles -->
    <string name="messages_header">Messages</string>
    <string name="sync_header">Sync</string>

    <!-- Messages Preferences -->
    <string name="signature_title">Your signature</string>
    <string name="reply_title">Default reply action</string>

    <!-- Sync Preferences -->
    <string name="sync_title">Sync email periodically</string>
    <string name="attachment_title">Download incoming attachments</string>
    <string name="attachment_summary_on">Automatically download attachments for incoming emails
    </string>
    <string name="attachment_summary_off">Only download attachments when manually requested</string>
    <string name="gallery_title">Gallery</string>
    <string name="clearing_cache">Clearing cache...</string>
    <string name="error_while_clearing_cache">Error while clearing cache</string>
    <string name="clearing_history">Clearing history...</string>
    <string name="error_while_clearing_history">Error while clearing history</string>
    <string name="tap_to_open_bookmarks">Tap to open bookmarks</string>
</resources>


text:
<module xmlns="urn:jboss:module:1.0" name="org.camunda.bpm.wildfly.camunda-wildfly-subsystem">
  <resources>
    <resource-root path="camunda-wildfly-subsystem-@project.version@.jar" />
  </resources>

  <dependencies>

    <module name="javax.api" />
    <module name="javax.transaction.api" />
    <module name="javax.enterprise.api" />
    <module name="javax.inject.api" />

    <module name="org.jboss.staxmapper" />
    <module name="org.jboss.as.controller" />
    <module name="org.jboss.as.threads" />
    <module name="org.jboss.threads" />
    <module name="org.jboss.as.server" />
    <module name="org.jboss.modules" />
    <module name="org.jboss.msc" />
    <module name="org.jboss.logging" />
    <module name="org.jboss.vfs" />
    <module name="org.jboss.jandex" />
    <module name="org.jboss.weld.spi" />
    <module name="org.jboss.weld.api" />
    <module name="org.jboss.weld.core" />
    <module name="org.jboss.as.weld" />
    <module name="org.jboss.as.naming" />
    <module name="org.jboss.as.connector" />
    <module name="org.jboss.as.ee" />
    <module name="org.jboss.as.ejb3" />
    <module name="org.jboss.metadata" />
    <module name="org.jboss.as.web" />
    <module name="org.jboss.as.web-common" />
    <module name="org.jboss.invocation" />

    <module name="org.camunda.bpm.camunda-engine" />
    <module name="org.camunda.bpm.identity.camunda-identity-ldap" />
    <module name="org.camunda.bpm.camunda-engine-plugin-spin" services="import" />
    <module name="org.camunda.bpm.camunda-engine-plugin-connect" />
    <module name="org.camunda.bpm.qa.camunda-qa-ensure-clean-db" services="import" />

    <!-- for LDAP plugin only -->
    <module name="sun.jdk" />

  </dependencies>
</module>


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>NodeActionsMixin - Ember OSF Addon</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="icon" href="../assets/favicon.ico">

            API Docs for: 0.6.0

APIs

Classes

Modules

                            <input type="search" id="api-filter" placeholder="Type to filter APIs">

ajax-helpers

Analytics

auth

author-link

buildSecondaryNavLinks

CasAuthenticatedRouteMixin

Citation

citation-widget

Collection

Comment

comment-detail

comment-form

comment-pane

CommentableMixin

CommentReport

Contributor

current-user

discover-page

DraftRegistration

dropzone-widget

elastic-query

elem-id

eosf-project-nav

faceted-search

File

file-browser

file-browser-icon

file-chooser component

file-manager

file-renderer

file-version

file-widget

FileCacheBypassMixin

FileItemMixin

FileProvider

FileVersion

filterReplace

fix-special-char

fix-special-char-helper

fixstring

GenericDataADapter

getDisplayName

HostAppNameMixin

ifFilter

InfinityCustomMixin

Institution

license-picker

Log

Metaschema

navbar-auth-dropdown

new-navbar-auth-dropdown

Node

NodeActionsMixin

NodeLink

oauth-popup

osf-copyright

osf-footer

osf-mode-footer

osf-navbar

osf-paginator

osf-services

OsfAdapter

OsfAgnosticAuthController

OsfAgnosticAuthRoute

OsfCookieAuthenticator

OsfCookieAuthorizer

OsfCookieLoginController

OsfCookieLoginRoute

OsfModel

OsfSerializer

OsfTokenAuthenticator

OsfTokenAuthorizer

OsfTokenLoginControllerMixin

OsfTokenLoginRouteMixin

PaginatedControllerMixin

PaginatedRouteMixin

pagination-control

permissions

Preprint

providerRegex

Registration

RegistrationActionsMixin

search-dropdown

search-facet-daterange

search-facet-language

search-facet-locked

search-facet-source

search-facet-typeahead

search-facet-worktype

search-facet-worktype-button

search-facet-worktype-hierarchy

search-help-modal

search-result

service-links

sign-up

sortOptionDisplay

TaggableMixin

tags-widget

Taxonomy

theme

total-share-results

User

adapters

authenticators

authorizers

components

const

ember-osf

helpers

mixins

models

serializers

services

transforms

utils

                    Show:

                        <input type="checkbox" id="api-show-inherited" checked>
                        Inherited

                        <input type="checkbox" id="api-show-protected">
                        Protected

                        <input type="checkbox" id="api-show-private">
                        Private

                        <input type="checkbox" id="api-show-deprecated">
                        Deprecated

NodeActionsMixin Class

            Extends Ember.Mixin

            Defined in: addon/mixins/node-actions.js:8

            Module: mixins

            Parent Module: ember-osf

Controller mixin that implements common actions performed on nodes.

Index

Methods

Properties

Item Index

Methods

                                _affiliateNode

                                addChild

                                addContributor

                                addContributors

                                addNodeLink

                                affiliateNode

                                apply

                                deleteNode

                                detect

                                removeContributor

                                removeNodeLink

                                reopen

                                reorderContributors

                                unaffiliateNode

                                updateContributor

                                updateContributors

                                updateNode

Properties

                                node

Methods

_affiliateNode

            (

                        node

                        institution

)

            Promise

        private

                Defined in
        addon/mixins/node-actions.js:22

Helper method that affiliates an institution with a node.

Parameters:

                        node
                        DS.Model

Node record

                        institution
                        Object

Institution record

Returns:

                        Promise:

Returns a promise that resolves to the updated node with the newly created institution relationship

addChild

            (

                        title

                        description

                        category

)

            Promise

                Defined in
        addon/mixins/node-actions.js:187

Add a child (component) to a node.

Parameters:

                        title
                        String

Title for the child

                        description
                        String

Description for the child

                        category
                        String

Category for the child

Returns:

                        Promise:

Returns a promise that resolves to the newly created child node.

addContributor

            (

                        userId

                        permission

                        isBibliographic

                        sendEmail

)

            Promise

                Defined in
        addon/mixins/node-actions.js:98

Add a contributor to a node

Parameters:

                        userId
                        String

ID of user that will be a contributor on the node

                        permission
                        String

User permission level. One of "read", "write", or "admin". Default: "write".

                        isBibliographic
                        Boolean

Whether user will be included in citations for the node. "default: true"

                        sendEmail
                        Boolean

Whether user will receive an email when added. "default: true"

Returns:

                        Promise:

Returns a promise that resolves to the newly created contributor object.

addContributors

            (

                        contributors

                        sendEmail

)

            Promise

                Defined in
        addon/mixins/node-actions.js:111

Bulk add contributors to a node

Parameters:

                        contributors
                        Array

Array of objects containing contributor permission, bibliographic, and userId keys

                        sendEmail
                        Boolean

Whether user will receive an email when added. "default: true"

Returns:

                        Promise:

Returns a promise that resolves to an array of added contributors

addNodeLink

            (

                        targetNodeId

)

            Promise

                Defined in
        addon/mixins/node-actions.js:199

Adds a relationship to another node, called a linkedNode.

Parameters:

                        targetNodeId
                        String

ID of the node for which you wish to create a link

Returns:

                        Promise:

Returns a promise that resolves to the newly updated node

affiliateNode

            (

                        institutionId

)

            Promise

                Defined in
        addon/mixins/node-actions.js:72

Affiliate a node with an institution

Parameters:

                        institutionId
                        String

ID of the institutution to be affiliated

Returns:

                        Promise:

Returns a promise that resolves to the updated node
with the newly affiliated institution relationship

apply

            (

                        obj

)

        private

Inherited from
                Ember.Mixin:
        packages/ember-metal/lib/mixin.js:555

Parameters:

                        obj
                        Object

Returns:

                    applied object

deleteNode

        ()

            Promise

                Defined in
        addon/mixins/node-actions.js:62

Delete a node

Returns:

                        Promise:

Returns a promise that resolves after the deletion of the node.

detect

            (

                        obj

)

            Boolean

        private

Inherited from
                Ember.Mixin:
        packages/ember-metal/lib/mixin.js:586

Parameters:

                        obj
                        Object

Returns:

                        Boolean:

removeContributor

            (

                        contributor

)

            Promise

                Defined in
        addon/mixins/node-actions.js:122

Remove a contributor from a node

Parameters:

                        contributor
                        Object

Contributor relationship that will be removed from node

Returns:

                        Promise:

Returns a promise that will resolve upon contributor deletion.
User itself will not be removed.

removeNodeLink

            (

                        linkedNode

)

            Promise

                Defined in
        addon/mixins/node-actions.js:214

Removes the linkedNode relationship to another node. Does not remove the linked node itself.

Parameters:

                        linkedNode
                        Object

linkedNode relationship to be destroyed.

Returns:

                        Promise:

Returns a promise that resolves to the newly updated node

reopen

            (

                        arguments

)

        private

Inherited from
                Ember.Mixin:
        packages/ember-metal/lib/mixin.js:518

Parameters:

                        arguments
                        Object

                        multiple

reorderContributors

            (

                        contributor

                        newIndex

                        contributors

)

            Promise

                Defined in
        addon/mixins/node-actions.js:161

Reorder contributors on a node, and manually updates store.

Parameters:

                        contributor
                        Object

Contributor record to be modified

                        newIndex
                        Integer

Contributor's new position in the list

                        contributors
                        Array

New contributor list in correct order

Returns:

                        Promise:

Returns a promise that resolves to the updated contributor.

unaffiliateNode

            (

                        institution

)

            Promise

                Defined in
        addon/mixins/node-actions.js:85

Unaffiliate a node with an institution

Parameters:

                        institution
                        Object

Institution relationship to be removed from node

Returns:

                        Promise:

Returns a promise that resolves to the updated node
with the affiliated institution relationship removed.

updateContributor

            (

                        contributor

                        permissions

                        bibliographic

)

            Promise

                Defined in
        addon/mixins/node-actions.js:148

Update contributors of a node. Makes a bulk request to the APIv2.

Parameters:

                        contributor
                        Contributor

relationship on the node.

                        permissions
                        String

desired permissions.

                        bibliographic
                        Boolean

desired bibliographic statuses

Returns:

                        Promise:

Returns a promise that resolves to the updated node
with edited contributor relationships.

updateContributors

            (

                        contributors

                        permissionsChanges

                        bibliographicChanges

)

            Promise

                Defined in
        addon/mixins/node-actions.js:134

Update contributors of a node. Makes a bulk request to the APIv2.

Parameters:

                        contributors
                        Contributor[]

Contributor relationships on the node.

                        permissionsChanges
                        Object

Dictionary mapping contributor ids to desired permissions.

                        bibliographicChanges
                        Object

Dictionary mapping contributor ids to desired bibliographic statuses

Returns:

                        Promise:

Returns a promise that resolves to the updated node
with edited contributor relationships.

updateNode

            (

                        title

                        description

                        category

                        isPublic

)

            Promise

                Defined in
        addon/mixins/node-actions.js:36

Update a node

Parameters:

                        title
                        String

New title of the node

                        description
                        String

New Description of the node

                        category
                        String

New node category

                        isPublic
                        Boolean

Should this node be publicly-visible?

Returns:

                        Promise:

Returns a promise that resolves to the updated node

Properties

node

    DS.Model

                Defined in
        addon/mixins/node-actions.js:14

The node to perform these actions on. If not specified, defaults to the model hook.


text:
[![Build Status](https://travis-ci.org/buddhistpirate/guerillarb.png?branch=master)](https://travis-ci.org/buddhistpirate/guerillarb)
Guerillarb is a TCP service for serving random document bodies. You supply it an integer followed by a newline and it will serve you a JSON array of that many lines indexed randomly from a random source document. It will then select contiguous lines. If the document does not have enough lines it will chose another file to serve the remaining lines.

## Installation

Add this line to your application's Gemfile:

    gem 'guerillarb'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install guerillarb

## Usage

./guerilla -directory SourceDocumentFolder -port PortNumber
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request