Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

[RELEASE] Merge BETA into MASTER - #2596

Merged
rafaelks merged 90 commits into
masterfrom
beta
Apr 2, 2019
Merged

rafaelks merged 90 commits into
masterfrom
beta

Conversation

@rafaelks

Copy link
Copy Markdown
Contributor

@RocketChat/ios

cardoso and others added 30 commits January 10, 2019 13:56
Some fixes and updates
😠 some dumb mistakes 😠
Status now updates after selecting it, in the profile
[FIX] Status not updated immediately after selecting
[I18N] Update Localizable.strings
rafaelks and others added 13 commits March 22, 2019 08:29
[FIX] Clear listeners for dynamic value in notifications
[IMPROVEMENT] Change theme for MBProgressHUD
[IMPROVEMENT] Allow scrolling of chat title if it doesn’t fit
[i18n] Add missing polish translations
[IMPROVEMENT] Adjust wording of Members in Directory
…ontroller_audio_sounds

[CHORE] Update RocketChatViewController with audio recorder feedback sounds
[FIX] Refactor EmojiPickerViewController and fix memory leak on iPhone
[CHORE] Update SDK with haptic feedback working again
[CHORE] Merge DEVELOP into BETA
let avatarURL = user.avatarURL(auth)
XCTAssertNotNil(avatarURL, "url is valid")
XCTAssertEqual(avatarURL?.absoluteString, "https://open.rocket.chat/avatar/\(user.username ?? "")?format=jpeg", "avatar url is valid")
XCTAssertEqual(avatarURL?.absoluteString, "https://open.rocket.chat/avatar/\(user.username ?? "")?format=jpeg&rc_uid=userId123&rc_token=token123", "avatar url is valid")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 177 characters (line_length)

let avatarURL = user.avatarURL(auth)
XCTAssertNotNil(avatarURL, "url is valid")
XCTAssertEqual(avatarURL?.absoluteString, "https://open.rocket.chat/avatar/user-username?format=jpeg", "avatar url is valid")
XCTAssertEqual(avatarURL?.absoluteString, "https://open.rocket.chat/avatar/user-username?format=jpeg&rc_uid=userId123&rc_token=token123", "avatar url is valid")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 168 characters (line_length)

separatorView.leadingAnchor.constraint(equalTo: discardButton.trailingAnchor, constant: Consts.separatorViewLeading),
separatorView.centerYAnchor.constraint(equalTo: centerYAnchor),

sendButton.leadingAnchor.constraint(equalTo: separatorView.trailingAnchor, constant: Consts.sendButtonLeading),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 123 characters (line_length)

discardButton.leadingAnchor.constraint(equalTo: audioView.trailingAnchor, constant: Consts.discardButtonLeading),
discardButton.centerYAnchor.constraint(equalTo: centerYAnchor),

separatorView.leadingAnchor.constraint(equalTo: discardButton.trailingAnchor, constant: Consts.separatorViewLeading),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 129 characters (line_length)

audioView.topAnchor.constraint(equalTo: topAnchor, constant: Consts.audioViewTop),
audioView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: Consts.audioViewBottom),

discardButton.leadingAnchor.constraint(equalTo: audioView.trailingAnchor, constant: Consts.discardButtonLeading),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 125 characters (line_length)


if userData as? String == "PreviewAudioView" {
let previewAudioView: PreviewAudioView
if let previewAudioView_ = view.subviews.first as? PreviewAudioView {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should only contain alphanumeric characters: 'previewAudioView_' (identifier_name)


if userData as? String == "RecordAudioView" {
let recordAudioView: RecordAudioView
if let recordAudioView_ = view.subviews.first as? RecordAudioView {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should only contain alphanumeric characters: 'recordAudioView_' (identifier_name)

}
}

func composerView(_ composerView: ComposerView, event: UIEvent, eventType: UIControl.Event, happenedInButton button: ComposerButton) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 138 characters (line_length)

func composerViewDidChangeSelection(_ composerView: ComposerView) { }
func composerView(_ composerView: ComposerView, didUpdateAddonView view: UIView?, at slot: ComposerAddonSlot, index: UInt) { }
func composerView(_ composerView: ComposerView, didTapButton button: ComposerButton) { }
func composerView(_ composerView: ComposerView, event: UIEvent, eventType: UIControl.Event, happenedInButton button: ComposerButton) { }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 140 characters (line_length)

Tells the delegate some event happened in the button.
*/
func composerView(_ composerView: ComposerView, didTapButton button: ComposerButton)
func composerView(_ composerView: ComposerView, event: UIEvent, eventType: UIControl.Event, happenedInButton button: ComposerButton)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 136 characters (line_length)

@rafaelks
rafaelks merged commit 201fe64 into master Apr 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants