conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
if (modifiedRequestObject.data.body.profileId) {
return Promise.reject(new BadRequestError('profile can not be provided in updateSelf'));
=======
if (modifiedRequestObject.data.body.profilesIds) {
return q.reject(new BadRequestError('profile can not be provided in updateSel... |
<<<<<<<
=======
setLastSub(data['user'].username);
eventsRouter.cachedEvent(event);
>>>>>>>
setLastSub(data['user'].username);
<<<<<<<
=======
setLastSub(data['user'].username);
eventsRouter.cachedEvent(event);
>>>>>>>
setLastSub(data['user'].username);
<<<<... |
<<<<<<<
const shell = require("electron").shell;
const fs = require("fs");
const request = require("request");
const List = require("list.js");
const howler = require("howler");
const compareVersions = require("compare-versions");
const marked = require("marked");
const path = require("path");
require("angular");
requ... |
<<<<<<<
const userDatabase = require("./lib/database/userDatabase");
const connectionManager = require("./lib/common/connection-manager");
const webServer = require("./server/httpServer");
const authManager = require("./lib/common/perform-auth");
=======
const fontManager = require("./lib/fontManager");
const apiServ... |
<<<<<<<
q = require('q'),
_kuzzle;
=======
Promise = require('bluebird');
>>>>>>>
Promise = require('bluebird'),
_kuzzle;
<<<<<<<
if (!_kuzzle.isServer) {
return q.reject(new BadRequestError('Only a Kuzzle Server can reset the database'));
=======
if (!kuzzle.isServer) {
return Promise.rejec... |
<<<<<<<
const activeUserLists = require("./builtin/activeUserLists");
=======
const channelProgression = require("./builtin/channelProgression");
const streamTitle = require("./builtin/stream-title");
const streamGame = require("./builtin/stream-game");
>>>>>>>
const activeUserLists = require("./... |
<<<<<<<
=======
const dataAccess = require('../../lib/common/data-access.js');
let app = angular
.module('firebotApp',
['ngAnimate', 'ngRoute', 'ui.bootstrap', 'rzModule', 'ui.select', 'ngSanitize', 'ui.select', 'ui.sortable',
'ngScrollGlue', 'summernote', 'ngYoutubeEmbed'... |
<<<<<<<
"use strict";
const { ipcMain } = require("electron");
const Carina = require("carina").Carina;
const ws = require("ws");
const profileManager = require("../common/profile-manager.js");
const eventManager = require("../live-events/EventManager");
const reconnectService = require("../common/reconnect.js");
cons... |
<<<<<<<
actions.push({
name: "Whisper",
icon: "fa-envelope"
});
=======
actions.push({
name: "Mention",
icon: "fa-at"
});
... |
<<<<<<<
const hue = require("./builtin/philips-hue/hue");
=======
const discord = require("./builtin/discord/discord");
>>>>>>>
const hue = require("./builtin/philips-hue/hue");
const discord = require("./builtin/discord/discord");
<<<<<<<
integrationManager.registerIntegration(hue);
=======
... |
<<<<<<<
webServer.sendToOverlay("text", data);
=======
if (dto.justify == null) {
dto.justify = "center";
}
if (dto.dontWrap == null) {
dto.dontWrap = false;
}
renderWindow.webContents.send('showtext', dto);
>>>>>>>
if (dto.justify == null) {
dto.justify = "cente... |
<<<<<<<
controller: function(
$scope,
$element,
$attrs,
settingsService,
listenerService,
connectionService
) {
let ctrl = this;
function getSelected() {
let effectDefs = listenerService
... |
<<<<<<<
it('should return a rejected promise if getFormattedFilters fails', function () {
return methods.__with__({
getFormattedFilters: function () { return Promise.reject(new Error('rejected')); }
})(function () {
return should(methods.or(roomId, index, collection, filter)).be.rejectedWith('reje... |
<<<<<<<
angular.module('cosign.network')
.factory('Network', function($rootScope) {
=======
angular.module('copay.network')
.factory('NetworkTest', function() {
this.f = function() {
return 2;
};
})
.factory('Network', function($rootScope) {
>>>>>>>
angular.module('copay.network')
.factory('N... |
<<<<<<<
url: '/uri/:url',
needProfile: true,
views: {
'main': {
templateUrl: 'views/uri.html'
}
}
})
.state('uripayment', {
url: '/uri-payment/:url',
templateUrl: 'views/paymentUri.html',
views: {
'main': {
... |
<<<<<<<
apiVersion: '2.3'
},
=======
apiVersion: '5.0'
}
>>>>>>>
apiVersion: '5.0'
}, |
<<<<<<<
if (data.stateParams.fromWalletId) {
$scope.sendFlowTitle = gettextCatalog.getString('Transfer between wallets');
=======
if ($scope.params.fromWalletId && !$scope.params.thirdParty) {
$scope.sendFlowTitle = gettextCatalog.getString('Wallet to Wallet Transfer');
>>>>>>>
... |
<<<<<<<
})
.directive('clipCopy', function() {
ZeroClipboard.config({
moviePath: '/lib/zeroclipboard/dist/ZeroClipboard.swf',
trustedDomains: ['*'],
allowScriptAccess: 'always',
forceHandCursor: true
});
return {
restric: 'A',
scope: { clipCopy: '=clipCopy' },
... |
<<<<<<<
root.priceSensitivity = [
{
value: 0.5,
name: '0.5%'
},
{
value: 1,
name: '1%'
},
{
value: 2,
name: '2%'
},
{
value: 5,
name: '5%'
},
{
value: 10,
name: '10%'
}
];
=======
>>>>>>>
<<<<<<<
$log.debug(... |
<<<<<<<
function($scope, $rootScope, $filter, $timeout, $log, $ionicModal, storageService, notification, profileService, platformInfo, $state, gettext, gettextCatalog, applicationService, ongoingProcess) {
var isCordova = platformInfo.isCordova;
$scope.isCordova = isCordova;
=======
function($scope, $ioni... |
<<<<<<<
'lib/angular-gettext/dist/angular-gettext.min.js',
'lib/assert/assert.js',
=======
'lib/inherits/inherits.js',
>>>>>>>
'lib/angular-gettext/dist/angular-gettext.min.js',
'lib/inherits/inherits.js', |
<<<<<<<
'copay.socket',
=======
'copay.controllerUtils',
>>>>>>>
'copay.socket',
'copay.controllerUtils', |
<<<<<<<
=======
return { _sqlite3_value_blob: _sqlite3_value_blob, _sqlite3_column_name: _sqlite3_column_name, _sqlite3_reset: _sqlite3_reset, _sqlite3_column_type: _sqlite3_column_type, _sqlite3_exec: _sqlite3_exec, _sqlite3_result_null: _sqlite3_result_null, _sqlite3_step: _sqlite3_step, _bitshift64Lshr: _bitshif... |
<<<<<<<
if (newValue.toStoreNode) {
newNode = newValue.toStoreNode(self.doc.store);
}
else if (field != 'object' ||
triple.object.interfaceName == 'NamedNode') {
newNode = self.doc.store.rdf.createNamedNode(RDFE.Editor.io_strip_URL_quoting(newValue));
}
... |
<<<<<<<
const { width, height, horizontal, vertical, horizontalCoordinatesGenerator,
verticalCoordinatesGenerator, xAxis, yAxis, offset, chartWidth, chartHeight } = this.props;
=======
const { x, y, width, height, horizontal, vertical, fill, fillOpacity } = this.props;
>>>>>>>
const { x, y, width, ... |
<<<<<<<
pTinyMceConfigMax = function() {
return {
// Location of TinyMCE script
script_url : ip.baseUrl + 'Ip/Module/Assets/assets/js/tiny_mce/tiny_mce.js',
=======
ipTinyMceConfigMax = {
// Location of TinyMCE script
script_url : ipFileUrl('Ip/Module/Assets/assets/js/tiny_mce/tiny_mce.js'... |
<<<<<<<
ipTinyMceConfigMin = function() {
return {
// Location of TinyMCE script
script_url : ip.baseUrl + 'Ip/Module/Assets/assets/js/tiny_mce/tiny_mce.js',
inline: true,
// theme : "advanced",
// plugins : "paste,inlinepopups,iplink,autoresize",
plugins: "paste",
... |
<<<<<<<
var ipUploadImage = $('.ipModuleInlineManagementPopupImage').find('.ipaImage');
if (ipUploadImage.ipUploadImage('getCurImage') == undefined) {
$.proxy(methods._cancel, $this)(event);
return;
}
=======
var ipUploadImage = $('.i... |
<<<<<<<
should(bootstrap.engine.search)
.be.calledOnce()
.be.calledWithMatch('users', {
query: {
terms: {
profileIds: ['admin']
=======
try {
should(bootstrap.engine.search)
.be.calledOnce()
... |
<<<<<<<
datepicker: base+'datepicker.html',
=======
radios: base+'radios.html',
radiobuttons: base+'radio-buttons.html',
>>>>>>>
datepicker: base+'datepicker.html',
radios: base+'radios.html',
radiobuttons: base+'radio-buttons.html',
<<<<<<<
datepicker: base+'datepicker.html',
input:... |
<<<<<<<
=======
require("../components/__stories__/artwork_filter")
require("../containers/__stories__/login")
>>>>>>>
require("../components/__stories__/artwork_filter") |
<<<<<<<
require("../components/publishing/__stories__/publishing")
=======
require("../components/__stories__/fair_booth")
>>>>>>>
require("../components/__stories__/fair_booth")
require("../components/publishing/__stories__/publishing") |
<<<<<<<
require("../components/__stories__/modal")
=======
require("../components/__stories__/nav")
>>>>>>>
require("../components/__stories__/modal")
require("../components/__stories__/nav") |
<<<<<<<
it('Allows selection of Ellaism', function(done) {
var params = {
selectText: "ELLA - Ellaism",
firstAddress: "0xa8B0BeA09eeBc41062308546a01d6E544277e2Ca",
};
testNetwork(done, params);
});
=======
it('Allows selection of Ethersocial Network', function(done) {
var params = {
... |
<<<<<<<
// Stellar is different
if (networks[DOM.network.val()].name == "XLM - Stellar") {
var purpose = parseIntNoNaN(DOM.bip44purpose.val(), 44);
var coin = parseIntNoNaN(DOM.bip44coin.val(), 0);
var path = "m/";
... |
<<<<<<<
var
_ = require('lodash'),
Promise = require('bluebird'),
uuid = require('node-uuid'),
User = require('../security/user'),
Repository = require('./repository'),
InternalError = require('kuzzle-common-objects').Errors.internalError;
=======
module.exports = function (kuzzle) {
var
_ = require... |
<<<<<<<
it('Allows selection of Safecoin', function(done) {
var params = {
selectText: "SAFE - Safecoin",
firstAddress: "RmV56kPW7jeCmDA8sukHwbR7RZSbg9NFNF",
};
testNetwork(done, params);
});
=======
it('Allows selection of Blocknode', function(done) {
var params = {
... |
<<<<<<<
=======
}
onSwitch = type => {
const { onTabChange } = this.props;
this.setState({
type,
});
onTabChange(type);
>>>>>>>
<<<<<<<
const { form, onSubmit } = this.props;
form.validateFields(activeFileds, { force: true }, (err, values) => {
onSubmit(err, values);
======... |
<<<<<<<
return q(new ResponseObject(requestObject, {now: Date.now()}));
=======
return Promise.resolve(new ResponseObject(requestObject, {now: Date.now()}));
};
this.listIndexes = function (requestObject) {
kuzzle.pluginsManager.trigger('data:listIndexes', requestObject);
return kuzzle.services.... |
<<<<<<<
constructor(props) {
super(props);
this.state = {
searchMode: props.defaultOpen,
value: '',
};
}
componentWillUnmount() {
clearTimeout(this.timeout);
}
=======
state = {
searchMode: this.props.defaultOpen,
value: '',
};
>>>>>>>
constructor(props) {
sup... |
<<<<<<<
return kuzzle.start(params, {dummy: true})
.then(() => {
// Mock
kuzzle.repositories.role.roles.role1 = { _id: 'role1' };
kuzzle.repositories.profile.validateAndSaveProfile = profile => {
if (profile._id === 'alreadyExists') {
return q.reject();
... |
<<<<<<<
const RightSidebar = connect(({ setting }) => ({ ...setting }))(Sidebar);
=======
/**
* 根据菜单取得重定向地址.
*/
const redirectData = [];
const getRedirect = item => {
if (item && item.children) {
if (item.children[0] && item.children[0].path) {
redirectData.push({
from: `${item.path}`,
t... |
<<<<<<<
console.log('pluginsManager install');
if (plugin) {
_kuzzle.pluginsManager.trigger('log:info', `███ kuzzle-plugins: Installing plugin ${plugin}...`);
}
else {
_kuzzle.pluginsManager.trigger('log:info', '███ kuzzle-plugins: Starting plugins installation...');... |
<<<<<<<
import {Icon} from '@conveyal/woonerf'
import { FlexTable, FlexColumn } from 'react-virtualized'
=======
import Icon from 'react-fa'
import { Table, Column } from 'react-virtualized'
>>>>>>>
import {Icon} from '@conveyal/woonerf'
import { FlexTable, FlexColumn } from 'react-virtualized'
import Icon from 'rea... |
<<<<<<<
import {secondsAfterMidnightToHHMM} from '../../../common/util/gtfs'
import { isTimeFormat, TIMETABLE_FORMATS } from '../../util/timetable'
=======
import * as tripActions from '../../actions/trip'
import { TIMETABLE_FORMATS } from '../../util/timetable'
>>>>>>>
import * as tripActions from '../../actions/tr... |
<<<<<<<
filterByRoute?: GtfsRoute,
filterByStop?: GtfsStop,
onChange: any => Promise<any>,
=======
filterByRoute: GtfsRoute,
filterByStop: GtfsStop,
onChange: GtfsOption => void,
>>>>>>>
filterByRoute?: GtfsRoute,
filterByStop?: GtfsStop,
onChange: GtfsOption => Promise<any>,
<<<<<<<
value?: str... |
<<<<<<<
/**
* Get the appropriate comparison feed version or summarized feed version
* summary given a project, the feed source within the project and a comparison
* column.
*/
export function getVersionValidationSummaryByFilterStrategy (
project: Project,
feedSource: Feed,
comparisonColumn: FeedSourceTableCo... |
<<<<<<<
toggleAllRows: ({active: boolean}) => void,
toggleRowSelection: ({active: boolean, rowIndex: number}) => void,
tripValidationErrors: TripValidationIssues,
updateCellValue: ({key: string, rowIndex: number, value: any}) => void,
=======
toggleAllRows: typeof tripActions.toggleAllRows,
toggleRowSelec... |
<<<<<<<
import {isExtensionEnabled} from '../../common/util/config'
=======
import {API_PREFIX} from '../../common/constants'
>>>>>>>
import {API_PREFIX} from '../../common/constants'
import {isExtensionEnabled} from '../../common/util/config' |
<<<<<<<
import { InputGroup, Checkbox, Nav, NavItem, NavDropdown, MenuItem, Button, Form, FormControl } from 'react-bootstrap'
import {Icon} from '@conveyal/woonerf'
=======
>>>>>>>
import { InputGroup, Checkbox, Nav, NavItem, NavDropdown, MenuItem, Button, Form, FormControl } from 'react-bootstrap'
import {Icon} fr... |
<<<<<<<
bounds?: Array<Array<number>>,
dateTime: any,
disableRefresh?: boolean,
disableScroll?: any,
=======
bounds: Array<Array<number>>,
dateTime: DateTimeFilter,
disableRefresh: boolean,
disableScroll: boolean,
>>>>>>>
bounds?: Array<Array<number>>,
dateTime: DateTimeFilter,
disableRefresh?:... |
<<<<<<<
let disabled = !user.permissions.isProjectAdmin(project.id, project.organizationId)
=======
const disabled = !this.props.user.permissions.isProjectAdmin(project.id)
>>>>>>>
const disabled = !user.permissions.isProjectAdmin(project.id, project.... |
<<<<<<<
import {login} from '../../manager/actions/user'
import {removeEditorLock} from '../../editor/actions/editor'
=======
>>>>>>>
import {removeEditorLock} from '../../editor/actions/editor'
<<<<<<<
clearStatusModal,
login,
removeEditorLock
=======
clearStatusModal
>>>>>>>
clearStatusModal,
remov... |
<<<<<<<
<ManagerSidebar />
{/*<ManagerNavbar noMargin={this.props.noMargin}/>*/}
<div className='page'>
{this.props.children}
<footer className='footer'>
<div className='container'>
<ul className='list-inline text-center text-muted'>
... |
<<<<<<<
import * as adminActions from '../actions/admin'
import Loading from '../../common/components/Loading'
=======
import * as adminActions from '../actions/admin'
import * as organizationActions from '../actions/organizations'
>>>>>>>
import * as adminActions from '../actions/admin'
import * as organizationActi... |
<<<<<<<
case 'MERGE_PROJECT_FEEDS':
if (!job.projectId) {
// FIXME use setErrorMessage instead?
console.warn('No project ID found for job', job)
return
}
dispatch(downloadMergedFeedViaToken(job.projectId, false))
break
=======
>>>>>>>
<<<<<<<
... |
<<<<<<<
import ActiveUserAdmin from '../../admin/containers/ActiveUserAdmin'
import MainAlertsViewer from '../../alerts/containers/MainAlertsViewer'
import ActiveAlertEditor from '../../alerts/containers/ActiveAlertEditor'
import PageNotFound from '../components/PageNotFound'
import ActiveGtfsEditor from '../../editor/... |
<<<<<<<
hasProjectPermission (organizationId, projectId, permissionType) {
if (this.isProjectAdmin(projectId, organizationId)) return true
let p = this.getProjectPermission(projectId, permissionType)
=======
hasProjectPermission (projectId, permissionType) {
if (this.isProjectAdmin(projectId)) return ... |
<<<<<<<
? feedSources.map((feedSource) => {
return <FeedSourceTableRow
key={feedSource.id || Math.random()}
feedSource={feedSource}
project={project}
user={user}
updateFeedSourceProperty={updateFeedSourceProperty}
... |
<<<<<<<
import type {Pattern} from '../../../../gtfs/reducers/patterns'
import type {Route} from '../../../../gtfs/reducers/routes'
import type {AppState, dispatchFn} from '../../../../types'
const mapStateToProps = (state: AppState, ownProps) => {
=======
const mapStateToProps = (state, ownProps) => {
const {gtfs... |
<<<<<<<
import OptionButton from '../../../common/components/OptionButton'
=======
import * as tripActions from '../../actions/trip'
>>>>>>>
import * as tripActions from '../../actions/trip'
import OptionButton from '../../../common/components/OptionButton'
<<<<<<<
import type {EditorTableData, Feed, GtfsRoute, Pat... |
<<<<<<<
import type {Entity, Feed, GtfsRoute, Project} from '../../types'
import type {UserState} from '../../types/reducers'
=======
import type {AlertEntity, Feed, Project} from '../../types'
import type {UserState} from '../../manager/reducers/user'
>>>>>>>
import type {AlertEntity, Feed, Project} from '../../typ... |
<<<<<<<
});
test('repeated non-cyclic value', function(t) {
t.plan(1);
var one = { x: 1 };
var two = { a: one, b: one };
t.equal(stringify(two), '{"a":{"x":1},"b":{"x":1}}');
=======
});
test('acyclic but with reused obj-property pointers', function (t) {
t.plan(1);
var x = { a: 1 }
var ... |
<<<<<<<
factory.icons = {};
factory.iconNameTmpl = 'img/markers/number_{0}.png';
factory.mapWidth = 0;
=======
factory.icons = {};
factory.iconNameTmpl = 'img/markers/number_{0}.png';
factory.mapWidth = 0;
>>>>>>>
factory.icons = {};
factory.iconNameTmpl = 'img/markers/n... |
<<<<<<<
const closeData = {
user: {
_id: user._id,
username: user.username
},
=======
const closeData = {
>>>>>>>
const closeData = {
user: {
_id: user._id,
username: user.username
},
<<<<<<<
};
RocketChat.models.Rooms.closeByRoomId(room._id, closeData);
RocketChat.models... |
<<<<<<<
});
RocketChat.API.v1.addRoute('channels.getAllUserMentionsByChannel', { authRequired: true }, {
get() {
const { roomId } = this.requestParams();
const { offset, count } = this.getPaginationItems();
const { sort } = this.parseJsonQuery();
if (!roomId) {
return RocketChat.API.v1.failure('The reques... |
<<<<<<<
const postCSSPlugin = Npm.require(pluginName);
if (postCSSPlugin && postCSSPlugin().postcssPlugin) {
=======
const postCSSPlugin = require(pluginName);
if (postCSSPlugin && postCSSPlugin.name === 'creator' && postCSSPlugin().postcssPlugin) {
>>>>>>>
const postCSSPlugin = require(pluginName);
... |
<<<<<<<
/**
* Replaces @username with full name
*
* @param {string} message The message to replace
* @param {object[]} mentions Array of mentions used to make replacements
*
* @returns {string}
*/
function replaceMentionedUsernamesWithFullNames(message, mentions) {
if (!mentions || !mentions.length) {
return ... |
<<<<<<<
this.reconnectCb = [];
=======
this.loginCb = [];
this.logged = false;
>>>>>>>
this.reconnectCb = [];
this.loginCb = [];
this.logged = false;
<<<<<<<
let connectionWasOnline = true;
Tracker.autorun(() => {
const connected = Meteor.connection.status().connected;
if (connected === true... |
<<<<<<<
data.messageCounterSidebar = $('#messageCounterSidebar').find('input:checked').val();
data.highlights = _.compact(_.map($('[name=highlights]').val().split(','), function(e) {
return s.trim(e);
}));
const selectedLanguage = $('#language').val();
const enableAutoAway = $('#enableAutoAway').find('inp... |
<<<<<<<
import s from 'underscore.string';
=======
import { RocketChat, RoomSettingsEnum } from 'meteor/rocketchat:lib';
>>>>>>>
import s from 'underscore.string';
import { RocketChat, RoomSettingsEnum } from 'meteor/rocketchat:lib'; |
<<<<<<<
console.log(settings);
if (typeof settings !== 'object') {
settings = {
[settings] : value
};
}
if (!Object.keys(settings).every(key => fields.includes(key))) {
=======
if (!['roomName', 'roomTopic', 'roomAnnouncement', 'roomDescription', 'roomType', 'readOnly', 'reactWhenReadOnly', 'syst... |
<<<<<<<
const {room} = Template.instance();
=======
const room = ChatRoom.findOne(this.rid, {
fields: {
t: 1
}
});
>>>>>>>
const room = ChatRoom.findOne(this.rid, {
fields: {
t: 1
}
});
<<<<<<<
canView() {
return room.t !== 'd';
=======
canView(room) {
return RocketCh... |
<<<<<<<
=======
import _ from 'underscore';
const hideMessagesOfType = [];
RocketChat.settings.get(/Message_HideType_.+/, function(key, value) {
const type = key.replace('Message_HideType_', '');
const types = type === 'mute_unmute' ? ['user-muted', 'user-unmuted'] : [type];
return types.forEach((type) => {
c... |
<<<<<<<
it('should trigger a protocol:joinChannel hook', done => {
=======
it('should trigger a proxy:joinChannel hook', function (done) {
>>>>>>>
it('should trigger a proxy:joinChannel hook', done => {
<<<<<<<
kuzzle.once('protocol:joinChannel', (data) => {
=======
this.timeout(50);
kuzzle.onc... |
<<<<<<<
/* eslint-disable */
=======
import moment from 'moment';
>>>>>>>
/* eslint-disable */
import moment from 'moment'; |
<<<<<<<
=======
isTranslated() {
const sub = ChatSubscription.findOne({ rid: this._id }, { fields: { autoTranslate: 1, autoTranslateLanguage: 1 } });
RocketChat.settings.get('AutoTranslate_Enabled') && ((sub != null ? sub.autoTranslate : undefined) === true) && (sub.autoTranslateLanguage != null);
},
>>>>>>>
... |
<<<<<<<
const directMessageAllow = RocketChat.settings.get('FileUpload_Enabled_Direct');
=======
const fileUploadAllowed = RocketChat.settings.get('FileUpload_Enabled');
>>>>>>>
const directMessageAllow = RocketChat.settings.get('FileUpload_Enabled_Direct');
const fileUploadAllowed = RocketChat.settings.get(... |
<<<<<<<
/* globals chatMessages, fileUpload , fireGlobalEvent , mobileMessageMenu , cordova , readMessage , RoomRoles, popover */
import { RocketChatTabBar } from 'meteor/rocketchat:lib';
=======
/* globals RocketChatTabBar , chatMessages, fileUpload , fireGlobalEvent , cordova , readMessage , RoomRoles, popover , d... |
<<<<<<<
api.addFiles('server/methods/insertOrUpdateUser.coffee', 'server');
=======
api.addFiles('server/methods/setEmail.js', 'server');
api.addFiles('server/methods/updateUser.coffee', 'server');
>>>>>>>
api.addFiles('server/methods/insertOrUpdateUser.coffee', 'server');
api.addFiles('server/methods/setEmail.... |
<<<<<<<
isNotification: false,
isRecent: false,
isTopic: false,
isList: false,
isPost: false,
hostUrl: window.location.href,
searchText: "",
routeText: ""
=======
isNotification: false,
isRecent: false,
isTopic: false,
isL... |
<<<<<<<
(function(window, videojs) {
'use strict';
var Playlist = {
/**
* The number of segments that are unsafe to start playback at in
* a live stream. Changing this value can cause playback stalls.
* See HTTP Live Streaming, "Playing the Media Playlist File"
* https://tools.ietf.org/html... |
<<<<<<<
=======
app.put(
'/api/users/myself/password',
passport.authenticate('local'),
function(req, res) {
var password = req.param('newPassword');
var passwordconfirm = req.param('newPasswordconfirm');
if (password && passwordconfirm) {
if (password !== passwordconfirm) {
... |
<<<<<<<
function MapController($rootScope, $scope, $log, $http, $compile, ObservationService, appConstants, mageLib, UserService, DataService, MapService, Layer, LocationService, Location, CreateLocation, TimerService, Feature, TimeBucketService) {
=======
function MapController($rootScope, $scope, $log, $http, Obser... |
<<<<<<<
, async = require('async')
, moment = require('moment')
, access = require('../access')
, environment = require('environment');
=======
, config = require('../config.js');
>>>>>>>
, environment = require('environment'); |
<<<<<<<
"import/" : "showImport",
=======
>>>>>>>
"import/" : "showImport",
<<<<<<<
$('#import').hide();
=======
$('#new_data_list').hide();
},
/**
* Displays a page where the user can make their own modified datalist specif... |
<<<<<<<
this.When(/^I write the document ?(?:"([^"]*)")?(?: in index "([^"]*)")?$/, function (documentName, index, callback) {
=======
this.When(/^I publish a message$/, function (callback) {
this.api.publish(this.documentGrace)
.then(function (body) {
if (body.error) {
callback(new Er... |
<<<<<<<
=======
/**
* Events that the InsertUnicode is listening to and their handlers.
*/
events : {
},
>>>>>>>
<<<<<<<
/**
* Change the model's state.
*/
// updateUnicode : function() {
// Utils.debug("Updated unicode to " + this.$el.children(".insert-unicode-inp... |
<<<<<<<
$(this.el).html(this.templateLink(this.model.toJSON()));
=======
var jsonToRender = {
_id : this.model.get("_id"),
goal : this.model.get("sessionFields").where({label: "goal"})[0].get("value"),
consultants : this.model.get("sessionFields... |
<<<<<<<
"hotkey/HotKey",
"hotkey/HotKeyConfigView",
"export/Export",
"export/ExportView",
=======
>>>>>>>
"hotkey/HotKey",
"hotkey/HotKeyConfigView",
"export/Export",
"export/ExportView",
<<<<<<<
UserProfileView,
HotKey,
HotKeyConfigView,
Export,
ExportView
=====... |
<<<<<<<
"corpus/" : "newFullscreenCorpus",
"corpus/:corpusName" : "showDashboard",
=======
>>>>>>>
"corpus/" : "newFullscreenCorpus",
"corpus/:corpusName" : "showDashboard",
<<<<<<<
"user/:userName/hotkeyconfig" : "showHotKeyConfig",
=======
"user/:userName/hotkeyconfig... |
<<<<<<<
"corpus/CorpusEditView",
"corpus/CorpusReadView",
=======
"corpus/CorpusReadFullscreenView",
"corpus/CorpusReadEmbeddedView",
"corpus/NewCorpusView",
>>>>>>>
"corpus/CorpusEditView",
"corpus/CorpusReadView",
<<<<<<<
CorpusEditView,
CorpusReadView,
=======
CorpusRead... |
<<<<<<<
usertemplate: Handlebars.compile(userTemplate),
=======
user: window.user,
>>>>>>>
usertemplate: Handlebars.compile(userTemplate),
user: window.user,
<<<<<<<
Handlebars.registerPartial("user", this.usertemplate(this.model.toJSON()) );
$(this.el).html(this.te... |
<<<<<<<
/**
* Displays a page where the user can make their own modified datalist specified by the given
* corpusName and the given datumId.
*
* @param {String}
* corpusName The name of the corpus this datum is from.
* @param {Number}
* sessionId The ID o... |
<<<<<<<
$("#fullscreen-corpus-view").show();
// $("#welcome-user-view").show();
=======
$("#corpus-read-fullscreen-view").show();
// $("#welcome-user-view").show();
>>>>>>>
$("#corpus-read-fullscreen-view").show();
// $("#welcome-user-view").show();
<<<<<<<
$("#fullscreen-corp... |
<<<<<<<
this.advancedSearchSessionView.el = this.$('.advanced_search_session');
this.advancedSearchSessionView.render();
} else if (this.format == "top") {
// Display the SearchView
this.setElement($("#search-top"));
$(this.el).html(this.topTemplate(this.model.toJSON()));
... |
<<<<<<<
"click .btn-save-session" : "updatePouch",
=======
//Add button inserts new Comment
"click .add_comment" : 'insertNewComment',
"click #btn-save-session" : "updatePouch",
>>>>>>>
"click .btn-save-session" : "updatePouch",
//Add button inserts new Commen... |
<<<<<<<
"informant/Informant",
"user/User",
], function(Informant,User) {
=======
"informant/Informant",
"user/User"
], function(Informant,User) {
>>>>>>>
"informant/Informant",
"user/User",
"informant/Informant",
"user/User"
], function(Informant,User) { |
<<<<<<<
changeViewsOfInternalModels : function() {
// Create a CommentReadView
this.commentReadView = new UpdatingCollectionView({
collection : this.model.get("comments"),
childViewConstructor : CommentReadView,
childViewTagName : 'li'
});
},
==... |
<<<<<<<
Utils.debug("Session fetched successfully" +e);
=======
Utils.debug("Session fetched successfully" + e);
s.relativizePouchToACorpus(self.get("corpus"));
>>>>>>>
Utils.debug("Session fetched successfully" +e);
},
error : function(e) {
Utils.deb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.